summaryrefslogtreecommitdiffstats
path: root/examples/simple.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple.rs')
-rw-r--r--examples/simple.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple.rs b/examples/simple.rs
index c30cbd2a..8459c6ab 100644
--- a/examples/simple.rs
+++ b/examples/simple.rs
@@ -7,6 +7,6 @@ fn main() {
PrettyPrinter::new()
.input_file(path_to_this_file)
- .run()
+ .print()
.expect("no errors");
}