about summary refs log tree commit diff
path: root/src/libstd/sys_common/net.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-03-01 09:34:11 +0100
committerMazdak Farrokhzad <twingoow@gmail.com>2019-03-31 12:56:51 +0200
commit379c380a60e7b3adb6c6f595222cbfa2d9160a20 (patch)
treef61f13cb864088ab83185775b34837c20211ce93 /src/libstd/sys_common/net.rs
parentcee58fdc12bea8cc373366bd84fc786277729b1c (diff)
downloadrust-379c380a60e7b3adb6c6f595222cbfa2d9160a20.tar.gz
rust-379c380a60e7b3adb6c6f595222cbfa2d9160a20.zip
libstd: deny(elided_lifetimes_in_paths)
Diffstat (limited to 'src/libstd/sys_common/net.rs')
-rw-r--r--src/libstd/sys_common/net.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/sys_common/net.rs b/src/libstd/sys_common/net.rs
index b77bcee4b9d..02bd91c4381 100644
--- a/src/libstd/sys_common/net.rs
+++ b/src/libstd/sys_common/net.rs
@@ -328,7 +328,7 @@ impl FromInner<Socket> for TcpStream {
 }
 
 impl fmt::Debug for TcpStream {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
+    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
         let mut res = f.debug_struct("TcpStream");
 
         if let Ok(addr) = self.socket_addr() {
@@ -435,7 +435,7 @@ impl FromInner<Socket> for TcpListener {
 }
 
 impl fmt::Debug for TcpListener {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
+    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
         let mut res = f.debug_struct("TcpListener");
 
         if let Ok(addr) = self.socket_addr() {
@@ -644,7 +644,7 @@ impl FromInner<Socket> for UdpSocket {
 }
 
 impl fmt::Debug for UdpSocket {
-    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
+    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
         let mut res = f.debug_struct("UdpSocket");
 
         if let Ok(addr) = self.socket_addr() {