diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-04-08 13:41:43 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-04-08 19:17:19 +0200 |
commit | a72d5e69a2e28162b77bf959fbaadeb2f5f7ae52 (patch) | |
tree | 4be14b923f53d5d08909d31611eb0577ec2aaaae /openpgp/src/parse/map.rs | |
parent | 9ab00f9532aa562dcc9548b425e81be0ca6585ad (diff) |
openpgp: Remove convenience function.
Diffstat (limited to 'openpgp/src/parse/map.rs')
-rw-r--r-- | openpgp/src/parse/map.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/openpgp/src/parse/map.rs b/openpgp/src/parse/map.rs index e5be3fc1..efaf55d9 100644 --- a/openpgp/src/parse/map.rs +++ b/openpgp/src/parse/map.rs @@ -138,11 +138,6 @@ impl<'a> Field<'a> { self.offset } - /// Returns the length of the field. - pub fn length(&self) -> usize { - self.data.len() - } - /// Returns the value of the field. pub fn data(&self) -> &'a [u8] { self.data |