Fix typos

This commit is contained in:
Bruce Mitchener 2024-08-06 09:19:00 +07:00
parent 15beec4330
commit 706c8dc6ed
2 changed files with 2 additions and 2 deletions

View File

@ -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())

View File

@ -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;