rusty quine
·1 min
This is an old entry actually:
fn main() { let text = r##" println!("fn main() {}\n let text = {}{}{}{}{}{}{}{};\n{};\n{}", "{", "r", "#", "#", '"', text, '"', "#", "#", text, "}")"##; println!("fn main() {}\n let text = {}{}{}{}{}{}{}{};\n{};\n{}", "{", "r", "#", "#", '"', text, '"', "#", "#", text, "}"); } That is the first quine and the first rust code I have ever written. Really want to actually invest some time on this language.