Skip to content

Commit

Permalink
Removed return statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eli Elgaev committed Dec 20, 2023
1 parent e3a8e63 commit ca2ca0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ impl Transport {
Err(e) => Err(Error::Io(e)),
}
} else {
return Err(Error::InvalidFunction);
Err(Error::InvalidFunction)
}
}

Expand Down

0 comments on commit ca2ca0a

Please sign in to comment.