Skip to content

Commit fbfb433

Browse files
asomersSteveLauC
authored andcommitted
fixup to Clippy cleanup: mismatched_lifetime_syntaxes
1 parent bd9a6fb commit fbfb433

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
@@ -1955,7 +1955,7 @@ pub struct SetOsString<'a> {
19551955

19561956
#[cfg(any(target_os = "freebsd", linux_android, target_os = "illumos"))]
19571957
impl<'a> Set<'a, OsString> for SetOsString<'a> {
1958-
fn new(val: &OsString) -> SetOsString {
1958+
fn new(val: &OsString) -> SetOsString<'_> {
19591959
SetOsString {
19601960
val: val.as_os_str(),
19611961
}

0 commit comments

Comments
 (0)