Use Self instead of _Struct.

This commit is contained in:
Bauke 2022-10-17 12:47:35 +02:00
parent 076c7c9029
commit 40168de8f7
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 1 additions and 1 deletions

View File

@ -16,6 +16,6 @@ impl FromStr for _Struct {
fn from_str(s: &str) -> Result<Self, Self::Err> {
let html = Html::parse_document(s);
_Struct::from_html(&html)
Self::from_html(&html)
}
}