mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
clippy: Fix various clippy problems in components/scripts/dom
(#31910)
* boxing is unnecessary * boxing is unnecessary * boxing is unnecessary * boxing is unnecessary * fix * fix * fix * Update globalscope.rs
This commit is contained in:
parent
9243e8cf71
commit
673eaa569a
3 changed files with 3 additions and 3 deletions
|
@ -654,7 +654,7 @@ impl HTMLFormElement {
|
|||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#text/plain-encoding-algorithm
|
||||
fn encode_plaintext(&self, form_data: &mut Vec<FormDatum>) -> String {
|
||||
fn encode_plaintext(&self, form_data: &mut [FormDatum]) -> String {
|
||||
// Step 1
|
||||
let mut result = String::new();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue