feat: add rust-script
This commit is contained in:
11
external/rust-script/tests/data/templates/shout.rs
vendored
Normal file
11
external/rust-script/tests/data/templates/shout.rs
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
#{prelude}
|
||||
|
||||
fn main() {
|
||||
match {#{script}} {
|
||||
script_result => {
|
||||
let text = script_result.to_string();
|
||||
let text = text.to_uppercase();
|
||||
println!("{}", text);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user