mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
build: upgrade rustc to 1.81.0 (#34270)
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
parent
26f61103d6
commit
7fcde1f7a3
15 changed files with 16 additions and 26 deletions
|
@ -1037,7 +1037,7 @@ impl<T: ClipboardProvider> TextInput<T> {
|
|||
// https://html.spec.whatwg.org/multipage/#textarea-line-break-normalisation-transformation
|
||||
content
|
||||
.replace("\r\n", "\n")
|
||||
.split(|c| c == '\n' || c == '\r')
|
||||
.split(['\n', '\r'])
|
||||
.map(DOMString::from)
|
||||
.collect()
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue