Use Self instead of _Struct.
This commit is contained in:
		
							parent
							
								
									076c7c9029
								
							
						
					
					
						commit
						40168de8f7
					
				| 
						 | 
					@ -16,6 +16,6 @@ impl FromStr for _Struct {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  fn from_str(s: &str) -> Result<Self, Self::Err> {
 | 
					  fn from_str(s: &str) -> Result<Self, Self::Err> {
 | 
				
			||||||
    let html = Html::parse_document(s);
 | 
					    let html = Html::parse_document(s);
 | 
				
			||||||
    _Struct::from_html(&html)
 | 
					    Self::from_html(&html)
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in New Issue