clippy + remove debug statement
All checks were successful
CI/CD Pipeline / test (push) Successful in 1m45s

This commit is contained in:
2024-02-15 13:13:34 +01:00
parent eb8af55554
commit 83825c6d98
2 changed files with 2 additions and 3 deletions

View File

@ -85,8 +85,7 @@ impl Abschnitt {
c.next()
.expect("After a 'Beachte' title, we need an Absatz"),
);
println!("{}", absatz.typ);
if absatz.typ != "erltext".to_string() {
if absatz.typ != *"erltext" {
panic!("Expected erltext absatz after 'Beachte'");
}