on f651e2c help sign in
bat/examples/simple.rs
6 lines 177 B history raw
1/// A simple program that prints its own source code using the bat library
2use bat::PrettyPrinter;
4fn main() {
5 PrettyPrinter::new().input_file(file!()).print().unwrap();
6}