diff options
| author | bors <bors@rust-lang.org> | 2022-03-30 07:45:42 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-03-30 07:45:42 +0000 |
| commit | 05142a7e4495f09141fdd65f140fe44d8c200a9e (patch) | |
| tree | ee648c1ad529193c0420d15f5361dd6d88ad8a48 /compiler/rustc_errors/src | |
| parent | f132bcf3bdf6d3ff9be7d02e8d0088b99007cd5e (diff) | |
| parent | 03b3993ae87ea47cfbff30534b0567a8b4574134 (diff) | |
| download | rust-05142a7e4495f09141fdd65f140fe44d8c200a9e.tar.gz rust-05142a7e4495f09141fdd65f140fe44d8c200a9e.zip | |
Auto merge of #95466 - Dylan-DPC:rollup-g7ddr8y, r=Dylan-DPC
Rollup of 5 pull requests Successful merges: - #95294 (Document Linux kernel handoff in std::io::copy and std::fs::copy) - #95443 (Clarify how `src/tools/x` searches for python) - #95452 (fix since field version for termination stabilization) - #95460 (Spellchecking compiler code) - #95461 (Spellchecking some comments) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_errors/src')
| -rw-r--r-- | compiler/rustc_errors/src/styled_buffer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/styled_buffer.rs b/compiler/rustc_errors/src/styled_buffer.rs index e262d95bb70..9abdb5fc97c 100644 --- a/compiler/rustc_errors/src/styled_buffer.rs +++ b/compiler/rustc_errors/src/styled_buffer.rs @@ -26,7 +26,7 @@ impl StyledBuffer { StyledBuffer { lines: vec![] } } - /// Returns content of `StyledBuffer` splitted by lines and line styles + /// Returns content of `StyledBuffer` split by lines and line styles pub fn render(&self) -> Vec<Vec<StyledString>> { // Tabs are assumed to have been replaced by spaces in calling code. debug_assert!(self.lines.iter().all(|r| !r.iter().any(|sc| sc.chr == '\t'))); |
