diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-03-31 14:30:16 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-03-31 14:30:52 +0200 |
commit | 455c80e4977bd55b0534ffbceb89c4634c0a61c2 (patch) | |
tree | b82130d32df35bc1fa5ebd51659c10392ae40d65 /openpgp/src/types/server_preferences.rs | |
parent | 2fab0fdd64f27999ee89c4a816aa19a3f1816a8b (diff) |
openpgp: Clarify PartialEq for bit field types.
Diffstat (limited to 'openpgp/src/types/server_preferences.rs')
-rw-r--r-- | openpgp/src/types/server_preferences.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openpgp/src/types/server_preferences.rs b/openpgp/src/types/server_preferences.rs index bc9d9cda..6600f348 100644 --- a/openpgp/src/types/server_preferences.rs +++ b/openpgp/src/types/server_preferences.rs @@ -2,6 +2,11 @@ use std::hash::{Hash, Hasher}; use std::fmt; /// Describes preferences regarding key servers. +/// +/// # A note on equality +/// +/// `PartialEq` is implements semantic equality, i.e. it ignores +/// padding. #[derive(Clone)] pub struct KeyServerPreferences{ no_modify: bool, |