Get the source code of a code block as a static string.
Example
Output
shower::source!(|| {
for i in 0..5 {
println!("{}", i);
}
"{abc}"
})
running program:
0
1
2
3
4
program returned={abc}
Get the source code of a code block as a static string.
shower::source!(|| {
for i in 0..5 {
println!("{}", i);
}
"{abc}"
})
running program:
0
1
2
3
4
program returned={abc}