diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-04-25 01:36:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-25 01:36:05 +0200 |
| commit | 32fb77d9516ec8d781b998e5d314dc7b6a7954d8 (patch) | |
| tree | 2fd39a8435e3a41236e0820e08646e9e7a1508ea /src/libstd | |
| parent | d0db0a8caffa2c4e28d9e806dee1949a5a564a66 (diff) | |
| parent | 0689efc41144cbaec3052eea1816323384639a00 (diff) | |
| download | rust-32fb77d9516ec8d781b998e5d314dc7b6a7954d8.tar.gz rust-32fb77d9516ec8d781b998e5d314dc7b6a7954d8.zip | |
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.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/keyword_docs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/keyword_docs.rs b/src/libstd/keyword_docs.rs index 314424631fc..6fbb0139b0e 100644 --- a/src/libstd/keyword_docs.rs +++ b/src/libstd/keyword_docs.rs @@ -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 {} |
