Skip to content

Commit

Permalink
Add tracking issue for feature(unix_socket_peek)
Browse files Browse the repository at this point in the history
  • Loading branch information
rijenkii committed Sep 19, 2020
1 parent 8e9d5db commit a60f978
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/std/src/sys/unix/ext/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ impl UnixStream {
/// Ok(())
/// }
/// ```
#[unstable(feature = "unix_socket_peek", issue = "none")]
#[unstable(feature = "unix_socket_peek", issue = "76923")]
pub fn peek(&self, buf: &mut [u8]) -> io::Result<usize> {
self.0.peek(buf)
}
Expand Down Expand Up @@ -1708,7 +1708,7 @@ impl UnixDatagram {
/// Ok(())
/// }
/// ```
#[unstable(feature = "unix_socket_peek", issue = "none")]
#[unstable(feature = "unix_socket_peek", issue = "76923")]
pub fn peek(&self, buf: &mut [u8]) -> io::Result<usize> {
self.0.peek(buf)
}
Expand Down Expand Up @@ -1740,7 +1740,7 @@ impl UnixDatagram {
/// Ok(())
/// }
/// ```
#[unstable(feature = "unix_socket_peek", issue = "none")]
#[unstable(feature = "unix_socket_peek", issue = "76923")]
pub fn peek_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> {
self.recv_from_flags(buf, libc::MSG_PEEK)
}
Expand Down

0 comments on commit a60f978

Please sign in to comment.