Skip to content

Commit 8ecf27a

Browse files
authored
minor: fix lifetime of RawElement::key (#473)
1 parent 9c4b963 commit 8ecf27a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/raw/iter.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ impl<'a> RawElement<'a> {
150150
self.size
151151
}
152152

153-
pub fn key(&self) -> &str {
153+
pub fn key(&self) -> &'a str {
154154
self.key
155155
}
156156

0 commit comments

Comments
 (0)