diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-01-02 15:35:27 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-01-02 17:14:37 +0100 |
commit | eab85ce1df7f67f0b92f33db1c62d997e5829165 (patch) | |
tree | 47757e6e04f709a159e8f8a38f488b7f9018273b /openpgp/src/types/server_preferences.rs | |
parent | 78f41e581af5d93718af68becebe3cbff8fed2d1 (diff) |
openpgp: Align function name.
Diffstat (limited to 'openpgp/src/types/server_preferences.rs')
-rw-r--r-- | openpgp/src/types/server_preferences.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/types/server_preferences.rs b/openpgp/src/types/server_preferences.rs index 4b432526..b3eeca15 100644 --- a/openpgp/src/types/server_preferences.rs +++ b/openpgp/src/types/server_preferences.rs @@ -45,7 +45,7 @@ impl KeyServerPreferences { } /// Returns a slice referencing the raw values. - pub(crate) fn as_vec(&self) -> Vec<u8> { + pub(crate) fn to_vec(&self) -> Vec<u8> { let mut ret = if self.unknown.is_empty() { vec![0] } else { |