File: simple.rs

package info (click to toggle)
rust-bat 0.25.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,096 kB
  • sloc: sh: 255; python: 39; makefile: 14
file content (6 lines) | stat: -rw-r--r-- 177 bytes parent folder | download | duplicates (3)
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();
}