Skip to content

Commit

Permalink
Re-export Element trait from selectors to be able to use its methods …
Browse files Browse the repository at this point in the history
…like parent_element on ElementRef without an additional direct dependency.
  • Loading branch information
adamreichold committed Jan 11, 2023
1 parent 02fb092 commit e6229ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ pub use crate::html::Html;
pub use crate::node::Node;
pub use crate::selector::Selector;

pub use selectors::Element;

pub mod element_ref;
pub mod error;
pub mod html;
Expand Down

0 comments on commit e6229ed

Please sign in to comment.