Skip to content

Commit

Permalink
Add missing lifetime specifier
Browse files Browse the repository at this point in the history
Co-Authored-By: Mazdak Farrokhzad <[email protected]>
  • Loading branch information
jeremystucki and Centril authored Jul 4, 2019
1 parent 47ea8ae commit fc67e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/redox/ext/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ impl UnixListener {
/// }
/// ```
#[stable(feature = "unix_socket_redox", since = "1.29.0")]
pub fn incoming(&self) -> Incoming {
pub fn incoming(&self) -> Incoming<'_> {
Incoming { listener: self }
}
}
Expand Down

0 comments on commit fc67e57

Please sign in to comment.