mirror of
https://github.com/YGGverse/ggemtext.git
synced 2026-03-31 17:15:33 +00:00
use u8
This commit is contained in:
parent
b37a5f9061
commit
7c2051acaf
2 changed files with 5 additions and 5 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue