diff --git a/hello-world/src/main.rs b/hello-world/src/main.rs index e7a11a9..a816b15 100644 --- a/hello-world/src/main.rs +++ b/hello-world/src/main.rs @@ -1,3 +1,11 @@ +#![warn(clippy::all, clippy::pedantic)] + fn main() { + let my_list = ["one", "two", "three"]; + + for item in my_list { + print!("{}", item) + } + println!("Hello, world!"); }