Skip to content

Commit

Permalink
Clarify platform sensitivity of MAX_STR_LEN
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 20, 2024
1 parent b5415a8 commit 0592667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 0592667

Please sign in to comment.