mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
fix: omitted the let
bindings (#31908)
This commit is contained in:
parent
da76ebabe9
commit
ff95ce5abd
9 changed files with 20 additions and 26 deletions
|
@ -236,7 +236,7 @@ impl DOMString {
|
|||
}
|
||||
|
||||
let first_non_whitespace = self.0.find(|ref c| !char::is_ascii_whitespace(c)).unwrap();
|
||||
let _ = self.0.replace_range(0..first_non_whitespace, "");
|
||||
self.0.replace_range(0..first_non_whitespace, "");
|
||||
}
|
||||
|
||||
/// Validates this `DOMString` is a time string according to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue