1 #![deny(warnings)]
2 
3 /// Windows doesn't have a native equivalent for cat, so we use this little
4 /// Rust implementation instead.
5 use std::io::{copy, stdin, stdout};
6 
main()7 fn main() {
8     let stdin_handle = stdin();
9     let stdout_handle = stdout();
10     copy(&mut stdin_handle.lock(), &mut stdout_handle.lock()).unwrap();
11 }
12