mirror of
https://github.com/YGGverse/ggemtext.git
synced 2026-03-31 17:15:33 +00:00
rename constructor, implement zero-copy trait, remove extra regex parser
This commit is contained in:
parent
bab4e03940
commit
4ce1b20bf7
2 changed files with 42 additions and 14 deletions
|
|
@ -72,7 +72,7 @@ fn gemtext() {
|
|||
}
|
||||
|
||||
// List
|
||||
if let Some(result) = List::from(line) {
|
||||
if let Some(result) = List::parse(line) {
|
||||
list.push(result);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue