remove log crate (in favor of tracing)
All checks were successful
CI/CD Pipeline / test (push) Successful in 2m9s
All checks were successful
CI/CD Pipeline / test (push) Successful in 2m9s
This commit is contained in:
@ -22,7 +22,6 @@ mod table;
|
||||
use std::{fmt::Display, iter::Peekable};
|
||||
|
||||
use abschnitt::Abschnitt;
|
||||
use log::trace;
|
||||
use roxmltree::{Children, Node};
|
||||
|
||||
use crate::{
|
||||
@ -117,7 +116,6 @@ impl Risdok {
|
||||
|
||||
pub(crate) fn from_str(xml: &str, builder: &mut law::Builder) -> Result<bool, Error> {
|
||||
let doc = roxmltree::Document::parse(xml)?;
|
||||
trace!("{doc:?}");
|
||||
let root = doc.root();
|
||||
assert_eq!(root.children().count(), 1);
|
||||
Ok(Self::parse(root.children().next().unwrap(), builder))
|
||||
@ -183,7 +181,6 @@ impl Listelem {
|
||||
|
||||
let text = c.next().unwrap().text().unwrap().into();
|
||||
|
||||
trace!("Parsed Listelem with text='{text}'");
|
||||
Expect::empty(c.next());
|
||||
|
||||
Self { symbol, text }
|
||||
@ -211,7 +208,6 @@ impl Ziffernliste {
|
||||
}
|
||||
|
||||
pub(crate) fn parse(c: &mut Peekable<Children>) -> Self {
|
||||
trace!("Parsing Ziffernliste...");
|
||||
let n = c.next().unwrap();
|
||||
|
||||
assert!(Self::test(&n));
|
||||
|
Reference in New Issue
Block a user