DAV server passing Litmus test suite

This commit is contained in:
mdecimus
2025-03-26 17:56:14 +01:00
parent 8004e32870
commit 3f825aaafd
367 changed files with 2026 additions and 1468 deletions

View File

@@ -5,7 +5,7 @@
*/
use std::{
collections::{btree_map::Entry, BTreeMap},
collections::{BTreeMap, btree_map::Entry},
iter::Peekable,
str::Chars,
};
@@ -299,9 +299,9 @@ impl<'x, 'y> TomlParser<'x, 'y> {
'}' => break,
ch => {
return Err(format!(
"Unexpected character {:?} found in inline table for property {:?} at line {}.",
ch, key, self.line
));
"Unexpected character {:?} found in inline table for property {:?} at line {}.",
ch, key, self.line
));
}
}
}
@@ -397,7 +397,7 @@ impl<'x, 'y> TomlParser<'x, 'y> {
"Expected {:?} but found {:?} in value at line {}.",
stop_chars, ch, self.line
))
}
};
}
}