about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-03-30 09:10:07 +0200
committerGitHub <noreply@github.com>2022-03-30 09:10:07 +0200
commit03b3993ae87ea47cfbff30534b0567a8b4574134 (patch)
tree34e2d764c963cda6b2c9f5ad114b99bf35f8df6b /compiler/rustc_errors/src
parenta629b2ac6869661b15e2439b31dba4c6925fc686 (diff)
parent7e8201ae0a57ef63b876cf2bf9ae388426f1dda5 (diff)
downloadrust-03b3993ae87ea47cfbff30534b0567a8b4574134.tar.gz
rust-03b3993ae87ea47cfbff30534b0567a8b4574134.zip
Rollup merge of #95461 - nyurik:spelling, r=lcnr
Spellchecking some comments

This PR attempts to clean up some minor spelling mistakes in comments
Diffstat (limited to 'compiler/rustc_errors/src')
-rw-r--r--compiler/rustc_errors/src/styled_buffer.rs2
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')));