diff options
| author | bors <bors@rust-lang.org> | 2023-07-13 18:15:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-07-13 18:15:14 +0000 |
| commit | a161ab00dbf660dd587ee42a8c855bac94047ddb (patch) | |
| tree | e0615e207acf3fec0d089d1ec334e63c8bcb40cb /compiler/rustc_errors/src/markdown/parse.rs | |
| parent | 1b3e68692592d71938df8e7fd8e53fbe5e7ef58c (diff) | |
| parent | e8b0b1781d177ab4aa0dca80d3c648f47287d149 (diff) | |
| download | rust-a161ab00dbf660dd587ee42a8c855bac94047ddb.tar.gz rust-a161ab00dbf660dd587ee42a8c855bac94047ddb.zip | |
Auto merge of #113637 - Mark-Simulacrum:bootstrap-bump, r=ozkanonur
Bump bootstrap to 1.72 beta
Diffstat (limited to 'compiler/rustc_errors/src/markdown/parse.rs')
| -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 362a451fde6..d3a08da6283 100644 --- a/compiler/rustc_errors/src/markdown/parse.rs +++ b/compiler/rustc_errors/src/markdown/parse.rs @@ -272,7 +272,7 @@ fn parse_ordered_li(buf: &[u8]) -> Parsed<'_> { fn get_indented_section(buf: &[u8]) -> (&[u8], &[u8]) { let mut end = buf.len(); for (idx, window) in buf.windows(2).enumerate() { - let &[ch, next_ch] = window else {unreachable!("always 2 elements")}; + let &[ch, next_ch] = window else { unreachable!("always 2 elements") }; if idx >= buf.len().saturating_sub(2) && next_ch == b'\n' { // End of stream end = buf.len().saturating_sub(1); |
