diff --git a/src/lib/codec/registry.rs b/src/lib/codec/registry.rs index f126b65..20a78d4 100644 --- a/src/lib/codec/registry.rs +++ b/src/lib/codec/registry.rs @@ -119,13 +119,13 @@ impl CodecRegistry { self.map.insert(k, f); } - pub fn iter<'a>(&'a self) -> Iter<'a> { + pub fn iter(&self) -> Iter<'_> { self.map.iter() } - pub fn create<'a>( + pub fn create( &self, - name: &'a str, + name: &str, r: Box, s: CodecSettings, ) -> Result, Error> {