Fix more clippy (#32740)

This commit is contained in:
石蕊 (Pi-Cla) 2024-07-09 04:47:43 +00:00 committed by GitHub
parent 4e1f623666
commit f29dd64a7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 72 additions and 90 deletions

View file

@ -780,7 +780,7 @@ impl HTMLMediaElement {
// Step 9.obj.
Mode::Object => {
// Step 9.obj.1.
*self.current_src.borrow_mut() = "".to_owned();
"".clone_into(&mut self.current_src.borrow_mut());
// Step 9.obj.2.
// FIXME(nox): The rest of the steps should be ran in parallel.