Skip to content

Commit 07540bb

Browse files
authored
Clippy cleanup: elided_named_lifetimes (#2481)
1 parent e8879e3 commit 07540bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/socket/sockopt.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1680,7 +1680,7 @@ struct SetOsString<'a> {
16801680

16811681
#[cfg(any(target_os = "freebsd", linux_android))]
16821682
impl<'a> Set<'a, OsString> for SetOsString<'a> {
1683-
fn new(val: &'a OsString) -> SetOsString {
1683+
fn new(val: &OsString) -> SetOsString {
16841684
SetOsString {
16851685
val: val.as_os_str(),
16861686
}

0 commit comments

Comments
 (0)