diff --git a/source/from_str.rs b/source/from_str.rs index ef2b674..c17fcf8 100644 --- a/source/from_str.rs +++ b/source/from_str.rs @@ -16,6 +16,6 @@ impl FromStr for _Struct { fn from_str(s: &str) -> Result { let html = Html::parse_document(s); - _Struct::from_html(&html) + Self::from_html(&html) } }