Skip to content

Commit 4c4049e

Browse files
committed
Remove unneeded lifetime
As reported by Clippy
1 parent 1dab4ec commit 4c4049e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data_types/strs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ impl CStr16 {
155155
}
156156

157157
/// Returns an iterator over this C string
158-
pub fn iter<'a>(&'a self) -> CStr16Iter<'a> {
158+
pub fn iter(&self) -> CStr16Iter {
159159
CStr16Iter {
160160
inner: self,
161161
pos: 0,

0 commit comments

Comments
 (0)