Created
July 8, 2022 06:21
-
-
Save NilsIrl/01235a7848142602ad53a1cbb7b99fe6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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() { | |
let s = r##"fn main() { | |
let s = ?; | |
let s = s.replacen("?", &format!("r{}\"{}\"{}", concat!("#", "#"), s, concat!("#", "#")), 1); | |
println!("{}", s); | |
}"##; | |
let s = s.replacen("?", &format!("r{}\"{}\"{}", concat!("#", "#"), s, concat!("#", "#")), 1); | |
println!("{}", s); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment