Skip to content

Commit f25b1ac

Browse files
authored
Merge pull request #2129 from Kobzol/html5ever-0.31.0-new-solver
Add `html5ever-0.31.0-new-solver`
2 parents afb4fdf + 0e10855 commit f25b1ac

37 files changed

+8921
-0
lines changed

collector/compile-benchmarks/REUSE.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,11 @@ path = "html5ever-0.31.0/**"
115115
SPDX-FileCopyrightText = "The html5ever Project Developers"
116116
SPDX-License-Identifier = "MIT OR Apache-2.0"
117117

118+
[[annotations]]
119+
path = "html5ever-0.31.0-new-solver/**"
120+
SPDX-FileCopyrightText = "The html5ever Project Developers"
121+
SPDX-License-Identifier = "MIT OR Apache-2.0"
122+
118123
[[annotations]]
119124
path = "hyper-1.6.0/**"
120125
SPDX-FileCopyrightText = "hyper contributors"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"git": {
3+
"sha1": "ce481196ff2e60eb536d9c022f4ca00bd5181f15"
4+
},
5+
"path_in_vcs": "html5ever"
6+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/src/util/str.rs b/src/util/str.rs
2+
index 2c0ec3e2..a78ff669 100644
3+
--- a/src/util/str.rs
4+
+++ b/src/util/str.rs
5+
@@ -10,6 +10,7 @@
6+
use std::fmt;
7+
8+
pub(crate) fn to_escaped_string<T: fmt::Debug>(x: &T) -> String {
9+
+ println!("testing");
10+
// FIXME: don't allocate twice
11+
let string = format!("{x:?}");
12+
string.chars().flat_map(|c| c.escape_default()).collect()

0 commit comments

Comments
 (0)