mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-09 04:09:20 +00:00
import
This commit is contained in:
parent
51c8da06b0
commit
4e990d5f52
@ -13,7 +13,7 @@
|
|||||||
// Execute `rustlings hint intro1` or use the `hint` watch subcommand for a
|
// Execute `rustlings hint intro1` or use the `hint` watch subcommand for a
|
||||||
// hint.
|
// hint.
|
||||||
|
|
||||||
// I AM NOT DONE
|
// I AM DONE
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println!("Hello and");
|
println!("Hello and");
|
||||||
|
|||||||
@ -5,8 +5,9 @@
|
|||||||
// Execute `rustlings hint intro2` or use the `hint` watch subcommand for a
|
// Execute `rustlings hint intro2` or use the `hint` watch subcommand for a
|
||||||
// hint.
|
// hint.
|
||||||
|
|
||||||
// I AM NOT DONE
|
// I AM DONE
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println!("Hello {}!");
|
let my_greeting="World";
|
||||||
|
println!("Hello {my_greeting}!");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,9 +5,9 @@
|
|||||||
// Execute `rustlings hint variables1` or use the `hint` watch subcommand for a
|
// Execute `rustlings hint variables1` or use the `hint` watch subcommand for a
|
||||||
// hint.
|
// hint.
|
||||||
|
|
||||||
// I AM NOT DONE
|
// I AM DONE
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
x = 5;
|
let x = 5;
|
||||||
println!("x has the value {}", x);
|
println!("x has the value {}", x);
|
||||||
}
|
}
|
||||||
|
|||||||
3
myrustlings_watch.cmd
Normal file
3
myrustlings_watch.cmd
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
cargo build
|
||||||
|
::target\release\rustlings.exe watch
|
||||||
|
target\debug\rustlings.exe watch
|
||||||
Loading…
x
Reference in New Issue
Block a user