diff options
Diffstat (limited to 'openpgp/src/types/mod.rs')
-rw-r--r-- | openpgp/src/types/mod.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/openpgp/src/types/mod.rs b/openpgp/src/types/mod.rs index 50813cc7..b57b7669 100644 --- a/openpgp/src/types/mod.rs +++ b/openpgp/src/types/mod.rs @@ -651,9 +651,8 @@ impl Curve { /// Returns an iterator over all valid variants. /// /// Returns an iterator over all known variants. This does not - /// include the [`Curve::Private`], or [`Curve::Unknown`] - /// variants, except to include BrainpoolP384 which is missing - /// from [`Curve`]. + /// include the [`Curve::Unknown`] variant, except to include + /// BrainpoolP384 which is missing from [`Curve`]. pub fn variants() -> impl Iterator<Item=Self> { CURVE_VARIANTS.iter().cloned() // XXXv2: Remove that hack, fix documentation. |