Skip to content

Commit

Permalink
Merge pull request #226 from max-heller/patch-1
Browse files Browse the repository at this point in the history
Make `HtmlTreeSink`'s field public
  • Loading branch information
cfvescovo authored Jan 1, 2025
2 parents d4d1a99 + 15de83a commit 1896e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper/src/html/tree_sink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use std::cell::{Ref, RefCell};

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

impl HtmlTreeSink {
/// Wrap a `Html`instance as a sink to drive parsing
Expand Down

0 comments on commit 1896e4f

Please sign in to comment.