mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 19:34:32 -06:00
rebuild pages at 174d50a
This commit is contained in:
+1
-2
@@ -70,8 +70,7 @@
|
||||
<h1>Patterns</h1>
|
||||
<p>We've actually used patterns a few times so far: they're used in <code>let</code>
|
||||
bindings, in function arguments, and in the <code>match</code> expression. Patterns have a
|
||||
lot more abilities than we have demonstrated so far, so in this section, we'll
|
||||
cover all of the different things they can do. Any of these abilities work in
|
||||
lot more abilities than we have demonstrated so far, so we'll cover some of the most commonly used ones in this section. Any of these abilities work in
|
||||
any place where a pattern is used.</p>
|
||||
<h2><code>let</code> statements</h2>
|
||||
<p>A basic <code>let</code> statement has this form:</p>
|
||||
|
||||
+1
-2
@@ -3544,8 +3544,7 @@ do something with a single pattern.</p>
|
||||
<h1>Patterns</h1>
|
||||
<p>We've actually used patterns a few times so far: they're used in <code>let</code>
|
||||
bindings, in function arguments, and in the <code>match</code> expression. Patterns have a
|
||||
lot more abilities than we have demonstrated so far, so in this section, we'll
|
||||
cover all of the different things they can do. Any of these abilities work in
|
||||
lot more abilities than we have demonstrated so far, so we'll cover some of the most commonly used ones in this section. Any of these abilities work in
|
||||
any place where a pattern is used.</p>
|
||||
<h2><code>let</code> statements</h2>
|
||||
<p>A basic <code>let</code> statement has this form:</p>
|
||||
|
||||
Reference in New Issue
Block a user