Fix typos in docs for keyword "in"
This commit is contained in:
parent
0612568358
commit
0689efc411
1 changed files with 2 additions and 2 deletions
|
@ -685,12 +685,12 @@ mod impl_keyword {}
|
|||
/// ## Literal Examples:
|
||||
///
|
||||
/// * `for _ **in** 1..3 {}` - Iterate over an exclusive range up to but excluding 3.
|
||||
/// * `for _ **in** 1..=3 {}` - Iterate over an inclusive range up to and includeing 3.
|
||||
/// * `for _ **in** 1..=3 {}` - Iterate over an inclusive range up to and including 3.
|
||||
///
|
||||
/// (Read more about [range patterns])
|
||||
///
|
||||
/// [`Iterator`]: ../book/ch13-04-performance.html
|
||||
/// [`range patterns`]: ../reference/patterns.html?highlight=range#range-patterns
|
||||
/// [range patterns]: ../reference/patterns.html?highlight=range#range-patterns
|
||||
/// [`for`]: keyword.for.html
|
||||
mod in_keyword {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue