mirror of
https://github.com/rust-lang/book.git
synced 2026-09-14 20:11:45 -04:00
even more spellingz
This commit is contained in:
@@ -407,6 +407,7 @@ threadsafe
|
||||
timestamp
|
||||
Tiếng
|
||||
timeline
|
||||
tlborm
|
||||
TODO
|
||||
TokenStream
|
||||
toml
|
||||
@@ -421,6 +422,7 @@ tuple
|
||||
tuples
|
||||
turbofish
|
||||
typeof
|
||||
TypeName
|
||||
UFCS
|
||||
unary
|
||||
Unary
|
||||
|
||||
@@ -137,7 +137,7 @@ pattern used here mean; for the full macro pattern syntax, see [the reference].
|
||||
|
||||
The `$x:expr` part of the pattern matches any Rust expression and gives the
|
||||
expression the name `$x`. The `*` specifies that the pattern matches zero or
|
||||
more of whatever preceeds the `*`. In this case, `*` is preceeded by `$(),` so
|
||||
more of whatever precedes the `*`. In this case, `*` is preceded by `$(),` so
|
||||
this pattern matches zero or more of whatever is inside the parentheses,
|
||||
delimited by a comma. When we call this macro with `vec![1, 2, 3];`, the
|
||||
pattern matches the three expressions `1`, `2`, and `3`.
|
||||
|
||||
Reference in New Issue
Block a user