Remove unneeded return statement
The last statement of a function does not need an explicit `return` statement.
This commit is contained in:
parent
bf4f5638e0
commit
5d68ad85ed
|
@ -222,7 +222,7 @@ mod test {
|
||||||
let istream = TcpStream::connect(format!("127.0.0.1:{}", port)).unwrap();
|
let istream = TcpStream::connect(format!("127.0.0.1:{}", port)).unwrap();
|
||||||
let reader = BufReader::new(istream);
|
let reader = BufReader::new(istream);
|
||||||
|
|
||||||
return (handle, reader)
|
(handle, reader)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Reference in New Issue