cargo clippy
This commit is contained in:
@ -42,7 +42,7 @@ impl<'a> From<&'a Node<'a, 'a>> for Expect<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> Expect<'a> {
|
||||
impl Expect<'_> {
|
||||
fn tag(self, value: &str) -> Self {
|
||||
assert!(
|
||||
self.node.tag_name().name() == value,
|
||||
@ -303,7 +303,7 @@ impl Td {
|
||||
|
||||
let mut c = n.children();
|
||||
|
||||
let Some(next) = c.next() else { return None };
|
||||
let next = c.next()?;
|
||||
|
||||
let absatz = Absatz::parse(next);
|
||||
|
||||
|
Reference in New Issue
Block a user