From 215f9aae332add364fe1ac2926e89f9645fb1975 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Thu, 26 Sep 2024 00:28:30 +0700 Subject: [PATCH] docs: Fix typos (#398) --- src/handler.rs | 2 +- src/handlers/graphical.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/handler.rs b/src/handler.rs index efbee86..10d8f65 100644 --- a/src/handler.rs +++ b/src/handler.rs @@ -89,7 +89,7 @@ impl MietteHandlerOpts { /// Syntax highlighting is disabled by default unless the /// `syntect-highlighter` feature is enabled. Call this method /// to override the default and use a custom highlighter - /// implmentation instead. + /// implementation instead. /// /// Use /// [`without_syntax_highlighting()`](MietteHandlerOpts::without_syntax_highlighting()) diff --git a/src/handlers/graphical.rs b/src/handlers/graphical.rs index 5991890..31eeb33 100644 --- a/src/handlers/graphical.rs +++ b/src/handlers/graphical.rs @@ -799,7 +799,7 @@ impl GraphicalReportHandler { return Ok(()); } - // keeps track of how many colums wide the gutter is + // keeps track of how many columns wide the gutter is // important for ansi since simply measuring the size of the final string // gives the wrong result when the string contains ansi codes. let mut gutter_cols = 0;