docs: Fix typos (#398)

This commit is contained in:
Bruce Mitchener 2024-09-26 00:28:30 +07:00 committed by GitHub
parent 789a04e30d
commit 215f9aae33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;