diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2024-04-08 14:08:33 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2024-04-08 14:08:33 +0200 |
commit | ef38f8198aebd7d469dc559415656f0c67f3fcaa (patch) | |
tree | 23b8ad1293af26c4e1295c8d101200fa24ec058a | |
parent | 10aa24b8b5530c11c1899251b603c48fe8f072b9 (diff) |
openpgp: Fix documentation.
- There is no `Curve::Private`.
-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. |