From b21d9ca8003a571f7c1fe8b1aa977c2bc91a5874 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 19 Nov 2024 23:50:57 -0800 Subject: [PATCH] Reword explanation of MAX_STR_LEN --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 996717f..f054f0f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -111,7 +111,8 @@ impl Buffer { /// /// This trait is sealed and cannot be implemented for types outside of itoa. pub trait Integer: private::Sealed { - /// The maximum length of the formatted str for this integer. + /// The maximum length of string that formatting an integer of this type can + /// produce. const MAX_STR_LEN: usize; }