Skip to content

Instantly share code, notes, and snippets.

@IGBC
Created April 13, 2021 12:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IGBC/08e743a8b6f90cbc3092c32a948a1d86 to your computer and use it in GitHub Desktop.
Save IGBC/08e743a8b6f90cbc3092c32a948a1d86 to your computer and use it in GitHub Desktop.
Cheaty Quine in Rust
[package]
name = "quine"
version = "0.1.0"
edition = "2018"
fn main() {
println!("{}",include_str!("main.rs"));
println!("{}",include_str!("../Cargo.toml"));
}
@IGBC
Copy link
Author

IGBC commented Apr 13, 2021

replace with / when testing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment