From 96c139a26a94cf0fd4d531df3c07156b3b531568 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 2 Jun 2022 04:04:27 +0000 Subject: feat(germ): ast struct --- examples/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/ast.rs b/examples/ast.rs index cbc97d8..884bd91 100644 --- a/examples/ast.rs +++ b/examples/ast.rs @@ -46,7 +46,7 @@ This is more text after a blank line. That was a link without text."#; fn main() { - for node in germ::ast::build(EXAMPLE_GEMTEXT) { + for node in germ::ast::Ast::from_string(EXAMPLE_GEMTEXT).inner() { println!("{:?}", node); } } -- cgit v1.2.3