mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Use more Box<[]> and Box<str> for quotes.
This commit is contained in:
parent
16f627a18a
commit
03f3521216
5 changed files with 50 additions and 31 deletions
|
@ -311,9 +311,9 @@ impl<'a, 'b> ResolveGeneratedContentFragmentMutator<'a, 'b> {
|
|||
"es.0[self.traversal.quote as usize]
|
||||
};
|
||||
if close {
|
||||
close_quote.clone()
|
||||
close_quote.to_string()
|
||||
} else {
|
||||
open_quote.clone()
|
||||
open_quote.to_string()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue