diff --git a/hello.rs b/hello.rs new file mode 100644 index 0000000..cafafa8 --- /dev/null +++ b/hello.rs @@ -0,0 +1,6 @@ +// Compile with 'rustc hello.rs' and run './hello' + +// This is the main function +fn main() { + println!("Hello Worrrrrrld!"); +} \ No newline at end of file diff --git a/readme.md b/readme.md index 84bdaa9..3cfd81d 100644 --- a/readme.md +++ b/readme.md @@ -6,4 +6,5 @@ This is a collection of Hello World programs - Ruby (hello.rb) - CSS (hello-css.html) -- Haskell (hello.hs) \ No newline at end of file +- Haskell (hello.hs) +- Rust (hello.rs) \ No newline at end of file