mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
fixed various clippy warnings (#31954)
This commit is contained in:
parent
c3360df918
commit
bd287df0d4
6 changed files with 6 additions and 6 deletions
|
@ -148,7 +148,7 @@ impl CharacterDataMethods for CharacterData {
|
|||
Err(()) => substring += remaining,
|
||||
// Steps 4.
|
||||
Ok((s, astral, _)) => {
|
||||
substring = substring + s;
|
||||
substring += s;
|
||||
// As if we had split the UTF-16 surrogate pair in half
|
||||
// and then transcoded that to UTF-8 lossily,
|
||||
// since our DOMString is currently strict UTF-8.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue