diff options
| author | mo8it <mo8it@proton.me> | 2024-05-21 01:47:57 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-05-21 01:47:57 +0200 |
| commit | 0f4c42d54ea7322a4ee0ae7036c058c3061e80e9 (patch) | |
| tree | dd72045b9c25da9da24e28842ef89058d83f8647 /solutions/00_intro | |
| parent | bde2524c3b1043da489541d4885592abe16646fa (diff) | |
Add solutions to intro and variables
Diffstat (limited to 'solutions/00_intro')
| -rw-r--r-- | solutions/00_intro/intro1.rs | 3 | ||||
| -rw-r--r-- | solutions/00_intro/intro2.rs | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/solutions/00_intro/intro1.rs b/solutions/00_intro/intro1.rs index 4e18198..07d4e4f 100644 --- a/solutions/00_intro/intro1.rs +++ b/solutions/00_intro/intro1.rs @@ -1 +1,2 @@ -// Solutions will be available before the stable release. Thank you for testing the beta version 🥰 +// The exercise `intro1` only requires entering `n` in the terminal to go to the next exercise. +// It is just an introduction to how Rustlings works. diff --git a/solutions/00_intro/intro2.rs b/solutions/00_intro/intro2.rs index 4e18198..b8e031a 100644 --- a/solutions/00_intro/intro2.rs +++ b/solutions/00_intro/intro2.rs @@ -1 +1,4 @@ -// Solutions will be available before the stable release. Thank you for testing the beta version 🥰 +fn main() { + // `println!` instead of `printline!`. + println!("Hello world!"); +} |
