Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4c4049e

Browse files
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>(&'aself) -> CStr16Iter<'a> {
158+
pub fn iter(&self) -> CStr16Iter {
159159
CStr16Iter {
160160
inner: self,
161161
pos: 0,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /