Skip to content

Commit edc8c74

Browse files
Fix warnings
1 parent 61a3822 commit edc8c74

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

library/std/src/sys/net/connection/motor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ impl TcpStream {
127127
moto_rt::net::linger(self.inner.as_raw_fd()).map_err(map_motor_error)
128128
}
129129

130-
pub fn set_keepalive(&self, keepalive: bool) -> io::Result<()> {
130+
pub fn set_keepalive(&self, _: bool) -> io::Result<()> {
131131
unsupported()
132132
}
133133

library/std/src/sys/net/connection/wasip1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ impl TcpStream {
145145
unsupported()
146146
}
147147

148-
pub fn set_keepalive(&self, keepalive: bool) -> io::Result<()> {
148+
pub fn set_keepalive(&self, _: bool) -> io::Result<()> {
149149
unsupported()
150150
}
151151

0 commit comments

Comments
 (0)