remove regex dependency, rename constructor, implement zero-copy trait

This commit is contained in:
yggverse 2025-03-17 02:09:52 +02:00
parent 7f3ea670f1
commit 96f7d648b6
3 changed files with 71 additions and 20 deletions

View file

@ -36,7 +36,7 @@ fn gemtext() {
// Parse document by line
for line in gemtext.lines() {
// Inline code
if let Some(result) = Inline::from(line) {
if let Some(result) = Inline::parse(line) {
code_inline.push(result);
continue;
}