mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-06-15 00:04:58 +02:00
Clean up and unify exercises
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
// intro1.rs
|
||||
//
|
||||
// We sometimes encourage you to keep trying things on a given exercise, even
|
||||
// after you already figured it out. If you got everything working and feel
|
||||
// ready for the next exercise, remove the `I AM NOT DONE` comment below.
|
||||
@ -8,9 +6,6 @@
|
||||
// reloaded when you change one of the lines below! Try adding a `println!`
|
||||
// line, or try changing what it outputs in your terminal. Try removing a
|
||||
// semicolon and see what happens!
|
||||
//
|
||||
// Execute `rustlings hint intro1` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
|
||||
fn main() {
|
||||
println!("Hello and");
|
||||
|
@ -1,9 +1,4 @@
|
||||
// intro2.rs
|
||||
//
|
||||
// Make the code print a greeting to the world.
|
||||
//
|
||||
// Execute `rustlings hint intro2` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
|
||||
fn main() {
|
||||
printline!("Hello there!")
|
||||
|
Reference in New Issue
Block a user