mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-11 13:19:18 +00:00
intro completed
This commit is contained in:
parent
d45ec21b3c
commit
5cd73078fc
BIN
exercises/clippy/clippy1
Executable file
BIN
exercises/clippy/clippy1
Executable file
Binary file not shown.
@ -19,5 +19,5 @@ fn main() {
|
|||||||
println!(
|
println!(
|
||||||
"The area of a circle with radius {:.2} is {:.5}!",
|
"The area of a circle with radius {:.2} is {:.5}!",
|
||||||
radius, area
|
radius, area
|
||||||
)
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,7 +9,6 @@
|
|||||||
// 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!");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user