summaryrefslogtreecommitdiffstats
path: root/examples/simple.rs
blob: e18d3693e76172c424e27c48f196401dde03f77e (plain)
1
2
3
4
5
6
/// A simple program that prints its own source code using the bat library
use bat::PrettyPrinter;

fn main() {
    PrettyPrinter::new().input_file(file!()).print().unwrap();
}