From 7e8201ae0a57ef63b876cf2bf9ae388426f1dda5 Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Wed, 30 Mar 2022 01:39:38 -0400 Subject: Spellchecking some comments This PR attempts to clean up some minor spelling mistakes in comments --- compiler/rustc_errors/src/styled_buffer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/rustc_errors') 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> { // 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'))); -- cgit 1.4.1-3-g733a5