diff options
Diffstat (limited to 'openpgp/src/types/mod.rs')
-rw-r--r-- | openpgp/src/types/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/openpgp/src/types/mod.rs b/openpgp/src/types/mod.rs index ba50cccd..bdadccf7 100644 --- a/openpgp/src/types/mod.rs +++ b/openpgp/src/types/mod.rs @@ -712,9 +712,7 @@ impl AEADAlgorithm { /// use sequoia_openpgp as openpgp; /// use openpgp::types::AEADAlgorithm; /// - /// assert!(AEADAlgorithm::EAX.is_supported()); - /// - /// assert!(!AEADAlgorithm::OCB.is_supported()); + /// assert!(! AEADAlgorithm::Private(100).is_supported()); /// ``` pub fn is_supported(&self) -> bool { self.is_supported_by_backend() |