Browse Source

initial commit

regex
Jim Infield 3 years ago
commit
ee7febb8c4
  1. 1
      .gitignore
  2. 7
      Cargo.lock
  3. 8
      Cargo.toml
  4. 20
      src/main.rs

1
.gitignore

@ -0,0 +1 @@
/target

7
Cargo.lock

@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "cw_rust_athletic-statistics"
version = "0.1.0"

8
Cargo.toml

@ -0,0 +1,8 @@
[package]
name = "cw_rust_athletic-statistics"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

20
src/main.rs

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