Skip to content

Commit

Permalink
Reword explanation 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 db0ce57 commit b21d9ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b21d9ca

Please sign in to comment.