Compare commits

...

2 Commits

Author SHA1 Message Date
877b8ad96e Merge branch 'main' of ssh://git.hofer.link:2222/philipp/risp
Some checks failed
CI/CD Pipeline / test (push) Successful in 4m11s
Update CI/CD Pipeline / update (push) Has been cancelled
2025-03-13 15:56:20 +01:00
48a7bf5c0a cargo clippy 2025-03-13 15:56:09 +01:00
3 changed files with 10 additions and 10 deletions

View File

@@ -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 { fn tag(self, value: &str) -> Self {
assert!( assert!(
self.node.tag_name().name() == value, self.node.tag_name().name() == value,
@@ -303,7 +303,7 @@ impl Td {
let mut c = n.children(); let mut c = n.children();
let Some(next) = c.next() else { return None }; let next = c.next()?;
let absatz = Absatz::parse(next); let absatz = Absatz::parse(next);