This commit is contained in:
yggverse 2025-02-16 22:40:25 +02:00
parent b37a5f9061
commit 7c2051acaf
2 changed files with 5 additions and 5 deletions

View file

@ -75,7 +75,7 @@ match Multiline::begin_from("```alt") {
``` rust
match Header::from("# H1") {
Some(h1) => {
assert_eq!(h1.level as i8, Level::H1 as i8);
assert_eq!(h1.level as u8, Level::H1 as u8);
assert_eq!(h1.value, "H1");
}
None => assert!(false),