diff options
| author | Fuwn <[email protected]> | 2022-06-02 04:04:27 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-06-02 04:04:27 +0000 |
| commit | 96c139a26a94cf0fd4d531df3c07156b3b531568 (patch) | |
| tree | ed2f288d32a8a69947f3a67bfa437021015e5f05 /examples | |
| parent | docs(cargo): bump version to 0.2.3 (diff) | |
| download | germ-96c139a26a94cf0fd4d531df3c07156b3b531568.tar.xz germ-96c139a26a94cf0fd4d531df3c07156b3b531568.zip | |
feat(germ): ast struct
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |