aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/ast.rs2
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);
}
}