Skip to content

Commit 284953e

Browse files
author
bors-servo
authored
Auto merge of #374 - servo:jdm-patch-3, r=SimonSapin
Expose public Node constructor. Since #372 there is a private field in Node that prevents constructing them manually. If we want to support that, we need to expose the constructor.
2 parents 121523b + 1f86279 commit 284953e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

html5ever/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "html5ever"
4-
version = "0.22.8"
4+
version = "0.23.0"
55
authors = [ "The html5ever Project Developers" ]
66
license = "MIT / Apache-2.0"
77
repository = "https://github.com/servo/html5ever"

markup5ever/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "markup5ever"
3-
version = "0.8.0"
3+
version = "0.8.1"
44
authors = [ "The html5ever Project Developers" ]
55
license = "MIT / Apache-2.0"
66
repository = "https://github.com/servo/html5ever"

markup5ever/rcdom.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ pub struct Node {
115115

116116
impl Node {
117117
/// Create a new node from its contents
118-
fn new(data: NodeData) -> Rc<Self> {
118+
pub fn new(data: NodeData) -> Rc<Self> {
119119
Rc::new(Node {
120120
data: data,
121121
parent: Cell::new(None),

xml5ever/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "xml5ever"
4-
version = "0.13.2"
4+
version = "0.14.0"
55
authors = ["The xml5ever project developers"]
66
license = "MIT / Apache-2.0"
77
repository = "https://github.com/servo/html5ever"

0 commit comments

Comments
 (0)