Remove unneeded return statement

The last statement of a function does not need an explicit `return`
statement.
This commit is contained in:
Tobin Harding 2022-01-24 12:00:22 +11:00
parent bf4f5638e0
commit 5d68ad85ed
1 changed files with 1 additions and 1 deletions

View File

@ -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]