diff --git a/src/assertions/map.rs b/src/assertions/map.rs index 117d8d3..c190ed9 100644 --- a/src/assertions/map.rs +++ b/src/assertions/map.rs @@ -118,7 +118,7 @@ where } } - fn key_set(&self) -> Subject<'a, Keys, (), R> { + fn key_set(&self) -> Subject, (), R> { self.new_owned_subject( self.actual().keys(), Some(format!("{}.keys()", self.description_or_expr())),