mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Remove lifetime annotation in messages
function
This commit is contained in:
parent
b82f29d780
commit
4c929a00ee
@ -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 }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user