mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
clippy: Fix unneeded return statement warnings (#31776)
This commit is contained in:
parent
d63615354c
commit
15bf32a4e6
19 changed files with 31 additions and 38 deletions
|
@ -299,7 +299,7 @@ impl ResponseMethods for Response {
|
|||
match *self.status.borrow() {
|
||||
Some(s) => {
|
||||
let status_num = s.as_u16();
|
||||
return status_num >= 200 && status_num <= 299;
|
||||
status_num >= 200 && status_num <= 299
|
||||
},
|
||||
None => false,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue