Created
April 13, 2021 12:02
-
-
Save IGBC/08e743a8b6f90cbc3092c32a948a1d86 to your computer and use it in GitHub Desktop.
Cheaty Quine in Rust
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "quine" | |
version = "0.1.0" | |
edition = "2018" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main() { | |
println!("{}",include_str!("main.rs")); | |
println!("{}",include_str!("../Cargo.toml")); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
replace with / when testing this