From 05926671b12bef1211a8a933d684b82f14ea51bc Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 20 Nov 2024 00:22:50 -0800 Subject: [PATCH] Clarify platform sensitivity of MAX_STR_LEN --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 0b529ec..99ffed4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -112,7 +112,7 @@ impl Buffer { /// This trait is sealed and cannot be implemented for types outside of itoa. pub trait Integer: private::Sealed { /// The maximum length of string that formatting an integer of this type can - /// produce. + /// produce on the current target platform. const MAX_STR_LEN: usize; }