fix: omitted the let bindings (#31908)

This commit is contained in:
Azhar Ismagulova 2024-03-27 20:22:51 +00:00 committed by GitHub
parent da76ebabe9
commit ff95ce5abd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 20 additions and 26 deletions

View file

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