Skip to content

Commit 6ce7dfb

Browse files
committed
Suppress a "unused variable" warning.
Signed-off-by: OGINO Masanori <[email protected]>
1 parent 04c23d3 commit 6ce7dfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/io/net/tcp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ mod test {
11161116
spawn(proc() {
11171117
tx.send(TcpStream::connect(addr.ip.to_str(), port).unwrap());
11181118
});
1119-
let l = rx.recv();
1119+
let _l = rx.recv();
11201120
for i in range(0, 1001) {
11211121
match a.accept() {
11221122
Ok(..) => break,

0 commit comments

Comments
 (0)