Skip to content

Commit 1896e4f

Browse files
authored
Merge pull request #226 from max-heller/patch-1
Make `HtmlTreeSink`'s field public
2 parents d4d1a99 + 15de83a commit 1896e4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scraper/src/html/tree_sink.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use std::cell::{Ref, RefCell};
1111

1212
/// Wraps `Html` instances as sinks to drive parsing
1313
#[derive(Debug)]
14-
pub struct HtmlTreeSink(RefCell<Html>);
14+
pub struct HtmlTreeSink(pub RefCell<Html>);
1515

1616
impl HtmlTreeSink {
1717
/// Wrap a `Html`instance as a sink to drive parsing

0 commit comments

Comments
 (0)