mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-10 04:39:18 +00:00
✨ 🦀 Intro Solved
This commit is contained in:
parent
e3af483fa6
commit
ac478e4614
@ -7,9 +7,7 @@
|
|||||||
//
|
//
|
||||||
// If you're running this using `rustlings watch`: The exercise file will be reloaded
|
// If you're running this using `rustlings watch`: The exercise file will be reloaded
|
||||||
// when you change one of the lines below! Try adding a `println!` line, or try changing
|
// 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!
|
// what it outputs in your terminal. Try removing a semicolon and see what happens
|
||||||
|
|
||||||
// I AM NOT DONE
|
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println!("Hello and");
|
println!("Hello and");
|
||||||
|
|||||||
@ -2,8 +2,6 @@
|
|||||||
// Make the code print a greeting to the world.
|
// Make the code print a greeting to the world.
|
||||||
// Execute `rustlings hint intro2` or use the `hint` watch subcommand for a hint.
|
// Execute `rustlings hint intro2` or use the `hint` watch subcommand for a hint.
|
||||||
|
|
||||||
// I AM NOT DONE
|
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println!("Hello {}!");
|
println!("Hello {}!", "World");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user