about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/styled_buffer.rs
diff options
context:
space:
mode:
authorYuri Astrakhan <YuriAstrakhan@gmail.com>2022-03-30 01:39:38 -0400
committerYuri Astrakhan <YuriAstrakhan@gmail.com>2022-03-30 01:39:38 -0400
commit7e8201ae0a57ef63b876cf2bf9ae388426f1dda5 (patch)
tree5acf581815892fa97944a80a175c5f75070b5888 /compiler/rustc_errors/src/styled_buffer.rs
parent600ec284838c52d1f6657c2cf0097b58970b133b (diff)
downloadrust-7e8201ae0a57ef63b876cf2bf9ae388426f1dda5.tar.gz
rust-7e8201ae0a57ef63b876cf2bf9ae388426f1dda5.zip
Spellchecking some comments
This PR attempts to clean up some minor spelling mistakes in comments
Diffstat (limited to 'compiler/rustc_errors/src/styled_buffer.rs')
-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')));