diff options
Diffstat (limited to 'openpgp/src/parse/map.rs')
-rw-r--r-- | openpgp/src/parse/map.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/parse/map.rs b/openpgp/src/parse/map.rs index 3ebcba77..d584b16f 100644 --- a/openpgp/src/parse/map.rs +++ b/openpgp/src/parse/map.rs @@ -34,7 +34,7 @@ pub struct Map { header: Vec<u8>, data: Vec<u8>, } -assert_send_and_sync!{Map} +assert_send_and_sync!(Map); /// Represents an entry in the map. #[derive(Clone, Debug)] @@ -114,7 +114,7 @@ pub struct Field<'a> { /// Value of the field. data: &'a [u8], } -assert_send_and_sync!{Field<'_>} +assert_send_and_sync!(Field<'_>); impl<'a> Field<'a> { fn new(map: &'a Map, i: usize) -> Option<Field<'a>> { |