Remove lifetime annotation in messages
function
This commit is contained in:
parent
b82f29d780
commit
4c929a00ee
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue