]> git.lizzy.rs Git - rust.git/commitdiff
Add missing lifetime specifier
authorJeremy Stucki <dev@jeremystucki.ch>
Thu, 4 Jul 2019 08:42:24 +0000 (10:42 +0200)
committerGitHub <noreply@github.com>
Thu, 4 Jul 2019 08:42:24 +0000 (10:42 +0200)
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
src/libstd/sys/redox/ext/net.rs

index e25bab4ff6104bc2c63bf8700c0d6502fc9a740e..1f5c785f419075b56ff415827f3778b358d5eac0 100644 (file)
@@ -673,7 +673,7 @@ pub fn take_error(&self) -> io::Result<Option<io::Error>> {
     /// }
     /// ```
     #[stable(feature = "unix_socket_redox", since = "1.29.0")]
-    pub fn incoming(&self) -> Incoming {
+    pub fn incoming(&self) -> Incoming<'_> {
         Incoming { listener: self }
     }
 }