@ -1,3 +1,20 @@
#![allow(unused)]
fn main() {
println!("Hello, world!");
let args = vec![
"string1",
"string2",
];
println!();
for arg in args {
println!("{}",func(&arg));
};
}
fn func(s: &str) -> String {
s.into()