diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-11-14 21:50:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-14 21:50:39 +0100 |
| commit | 2e00c6ffd739cd34c07a9de8193813afbf976595 (patch) | |
| tree | f05d18ad0caea6fe6d44ee2c926668a7d021c64d /compiler/rustc_errors/src | |
| parent | 52f3a6fdb2586f61acd47be005d7fd46d93a20c1 (diff) | |
| parent | a44a4edc0eb4361f998646891ba3728d3c9d9694 (diff) | |
| download | rust-2e00c6ffd739cd34c07a9de8193813afbf976595.tar.gz rust-2e00c6ffd739cd34c07a9de8193813afbf976595.zip | |
Rollup merge of #117911 - catandcoder:master, r=lqd
Fix some typos
Diffstat (limited to 'compiler/rustc_errors/src')
| -rw-r--r-- | compiler/rustc_errors/src/markdown/parse.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/markdown/parse.rs b/compiler/rustc_errors/src/markdown/parse.rs index d3a08da6283..67e4963fddf 100644 --- a/compiler/rustc_errors/src/markdown/parse.rs +++ b/compiler/rustc_errors/src/markdown/parse.rs @@ -329,7 +329,7 @@ fn parse_with_end_pat<'a>( end_sep: &[u8], ignore_esc: bool, ) -> Option<(&'a [u8], &'a [u8])> { - // Find positions that start with the end seperator + // Find positions that start with the end separator for idx in (0..buf.len()).filter(|idx| buf[*idx..].starts_with(end_sep)) { if !ignore_esc && idx > 0 && buf[idx - 1] == b'\\' { continue; |
