Use unwrap

This commit is contained in:
sharkdp authored and David Peter committed 2020-04-22 23:55:28 +02:00
1 parent 702cb198da
commit b76f5e72d4
3 files changed
+3 -6

No files matched your search

+1 -4
View File
@@ -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();
}