mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
Rollup merge of #71535 - workingjubilee:jubilee-markdown-fix, r=Mark-Simulacrum
Fix typos in docs for keyword "in" Erroneous .md formatting was causing the link to not work on the currently-nightly keyword docs for `in`, and also there was a simple typo.
This commit is contained in:
commit
32fb77d951
@ -685,12 +685,12 @@ mod impl_keyword {}
|
|||||||
/// ## Literal Examples:
|
/// ## Literal Examples:
|
||||||
///
|
///
|
||||||
/// * `for _ **in** 1..3 {}` - Iterate over an exclusive range up to but excluding 3.
|
/// * `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])
|
/// (Read more about [range patterns])
|
||||||
///
|
///
|
||||||
/// [`Iterator`]: ../book/ch13-04-performance.html
|
/// [`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
|
/// [`for`]: keyword.for.html
|
||||||
mod in_keyword {}
|
mod in_keyword {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user