mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-11 21:29:18 +00:00
Merge branch 'main' into pks/variables/all
This commit is contained in:
commit
943e709e28
@ -9,8 +9,6 @@
|
||||
// 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!
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
fn main() {
|
||||
println!("Hello and");
|
||||
println!(r#" welcome to... "#);
|
||||
@ -33,5 +31,6 @@ fn main() {
|
||||
println!(
|
||||
"If you want to use rust-analyzer, Rust's LSP implementation, make sure your editor is set"
|
||||
);
|
||||
println!("up, and then run `rustlings lsp` before continuing.")
|
||||
println!("up, and then run `rustlings lsp` before continuing.");
|
||||
println!("hi");
|
||||
}
|
||||
|
||||
@ -2,8 +2,7 @@
|
||||
// Make the code print a greeting to the world.
|
||||
// Execute `rustlings hint intro2` or use the `hint` watch subcommand for a hint.
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
fn main() {
|
||||
println!("Hello {}!");
|
||||
let world = "world";
|
||||
println!("Hello {world}!");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user