mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01: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
|
@ -190,7 +190,7 @@ impl HTMLTextAreaElement {
|
|||
|
||||
pub fn auto_directionality(&self) -> String {
|
||||
let value: String = self.Value().to_string();
|
||||
return HTMLInputElement::directionality_from_value(&value);
|
||||
HTMLInputElement::directionality_from_value(&value)
|
||||
}
|
||||
|
||||
fn update_placeholder_shown_state(&self) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue