rollup merge of #23764: tshepang/no-guessing-anymore
This commit is contained in:
commit
19ed61eabd
4 changed files with 4 additions and 9 deletions
|
|
@ -11,8 +11,7 @@ navigate through the menu on the left.
|
|||
<h2 class="section-header"><a href="basic.html">Basics</a></h2>
|
||||
|
||||
This section is a linear introduction to the basic syntax and semantics of
|
||||
Rust. It has individual sections on each part of Rust's syntax, and culminates
|
||||
in a small project: a guessing game.
|
||||
Rust. It has individual sections on each part of Rust's syntax.
|
||||
|
||||
After reading "Basics," you will have a good foundation to learn more about
|
||||
Rust, and can write very simple programs.
|
||||
|
|
|
|||
|
|
@ -99,7 +99,5 @@ You can also take a slice of a vector, `String`, or `&str`, because they are
|
|||
backed by arrays. Slices have type `&[T]`, which we'll talk about when we cover
|
||||
generics.
|
||||
|
||||
We have now learned all of the most basic Rust concepts. We're ready to start
|
||||
building ourselves a guessing game, we just need to know one last thing: how to
|
||||
get input from the keyboard. You can't have a guessing game without the ability
|
||||
to guess!
|
||||
We have now learned all of the most basic Rust concepts. Next, we learn how to
|
||||
get input from the keyboard.
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
% Basics
|
||||
|
||||
This section is a linear introduction to the basic syntax and semantics of
|
||||
Rust. It has individual sections on each part of Rust's syntax, and cumulates
|
||||
in a small project: a guessing game.
|
||||
Rust. It has individual sections on each part of Rust's syntax.
|
||||
|
||||
After reading "Basics," you will have a good foundation to learn more about
|
||||
Rust, and can write very simple programs.
|
||||
|
|
|
|||
|
|
@ -361,5 +361,4 @@ and brittle `if`/`else`s.
|
|||
|
||||
[arity]: ./glossary.html#arity
|
||||
[match]: ./match.html
|
||||
[game]: ./guessing-game.html#comparing-guesses
|
||||
[generics]: ./generics.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue