From 81ce616f0143a04bae9658a41ee1f1a368db97b0 Mon Sep 17 00:00:00 2001 From: Stephan Boyer Date: Sun, 11 Oct 2026 02:12:49 -0700 Subject: [PATCH] Use a contraction in the comment on CodeStr --- src/format.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format.rs b/src/format.rs index 578e3a0f..6735b747 100644 --- a/src/format.rs +++ b/src/format.rs @@ -3,7 +3,7 @@ use std::path::Path; // This trait has a function for formatting "code-like" text, such as a file path. The reason it's // implemented as a trait and not just a function is so we can use it with method syntax, as in -// `x.code_str()`. Rust does not allow us to implement methods on primitive types such as `str`. +// `x.code_str()`. Rust doesn't allow us to implement methods on primitive types such as `str`. pub trait CodeStr { fn code_str(&self) -> ColoredString; }