summaryrefslogtreecommitdiffstats
path: root/examples/simple.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple.rs')
-rw-r--r--examples/simple.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/simple.rs b/examples/simple.rs
index b7217d60..e18d3693 100644
--- a/examples/simple.rs
+++ b/examples/simple.rs
@@ -2,8 +2,5 @@
use bat::PrettyPrinter;
fn main() {
- PrettyPrinter::new()
- .input_file(file!())
- .print()
- .expect("no errors");
+ PrettyPrinter::new().input_file(file!()).print().unwrap();
}