mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
doc: Abbreviate Thursday as 'th', not 'do'
This commit is contained in:
parent
bcb9269d84
commit
d0268cbe5f
@ -919,7 +919,7 @@ for the parameter list, as in `{|| ...}`.
|
||||
Partial application is done using the `bind` keyword in Rust.
|
||||
|
||||
~~~~
|
||||
let daynum = bind vec::position_elem(["mo", "tu", "we", "do",
|
||||
let daynum = bind vec::position_elem(["mo", "tu", "we", "th",
|
||||
"fr", "sa", "su"], _);
|
||||
~~~~
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user