about summary refs log tree commit diff
path: root/library/std/src/sys/unix/ext
diff options
context:
space:
mode:
authorLinkTed <LinkTed@users.noreply.github.com>2020-08-25 18:48:27 +0200
committerLinkTed <LinkTed@users.noreply.github.com>2020-10-10 15:19:12 +0200
commit4c929a00ee6f4a8c4904f567d73e1cf6c333617c (patch)
treee3ec5936eac5e61c1a74ba857943c19648d2dac4 /library/std/src/sys/unix/ext
parentb82f29d780ae884bc0658a45241d4dde25a6c989 (diff)
downloadrust-4c929a00ee6f4a8c4904f567d73e1cf6c333617c.tar.gz
rust-4c929a00ee6f4a8c4904f567d73e1cf6c333617c.zip
Remove lifetime annotation in `messages` function
Diffstat (limited to 'library/std/src/sys/unix/ext')
-rw-r--r--library/std/src/sys/unix/ext/net/ancillary.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/ext/net/ancillary.rs b/library/std/src/sys/unix/ext/net/ancillary.rs
index 6175c0ae343..8c61c8dec54 100644
--- a/library/std/src/sys/unix/ext/net/ancillary.rs
+++ b/library/std/src/sys/unix/ext/net/ancillary.rs
@@ -564,7 +564,7 @@ impl<'a> SocketAncillary<'a> {
         target_env = "uclibc",
     ))]
     #[unstable(feature = "unix_socket_ancillary_data", issue = "none")]
-    pub fn messages(&'a self) -> Messages<'a> {
+    pub fn messages(&self) -> Messages<'_> {
         Messages { buffer: &self.buffer[..self.length], current: None }
     }