rustlings

solving rustlings ft. dracuxan
git clone [email protected]:dracuxan/rustlings.git
Log | Files | Refs

intro1.rs (1371B)


      1 // TODO: We sometimes encourage you to keep trying things on a given exercise
      2 // even after you already figured it out. If you got everything working and feel
      3 // ready for the next exercise, enter `n` in the terminal.
      4 //
      5 // The exercise file will be reloaded when you change one of the lines below!
      6 // Try adding a new `println!` and check the updated output in the terminal.
      7 
      8 fn main() {
      9     println!(r#"       Welcome to...                      "#);
     10     println!(r#"                 _   _ _                  "#);
     11     println!(r#"  _ __ _   _ ___| |_| (_)_ __   __ _ ___  "#);
     12     println!(r#" | '__| | | / __| __| | | '_ \ / _` / __| "#);
     13     println!(r#" | |  | |_| \__ \ |_| | | | | | (_| \__ \ "#);
     14     println!(r#" |_|   \__,_|___/\__|_|_|_| |_|\__, |___/ "#);
     15     println!(r#"                               |___/      "#);
     16     println!();
     17     println!("This exercise compiles successfully. The remaining exercises contain a compiler");
     18     println!("or logic error. The central concept behind Rustlings is to fix these errors and");
     19     println!("solve the exercises. Good luck!");
     20     println!();
     21     println!("The file of this exercise is `exercises/00_intro/intro1.rs`. Have a look!");
     22     println!("The current exercise path will be always shown under the progress bar.");
     23     println!("You can click on the path to open the exercise file in your editor.");
     24 }