Rollup merge of #143611 - GrigorenkoPV:ParseIntError, r=tgross35

Mention more APIs in `ParseIntError` docs

Fixes rust-lang/rust#143602

r? `@lolbinarycat`

`@rustbot` label +A-docs
This commit is contained in:
Matthias Krüger 2025-07-11 07:35:20 +02:00 committed by GitHub
commit 2ffaa1ec0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,8 +45,11 @@ impl From<!> for TryFromIntError {
/// An error which can be returned when parsing an integer.
///
/// This error is used as the error type for the `from_str_radix()` functions
/// on the primitive integer types, such as [`i8::from_str_radix`].
/// For example, this error is returned by the `from_str_radix()` functions
/// on the primitive integer types (such as [`i8::from_str_radix`])
/// and is used as the error type in their [`FromStr`] implementations.
///
/// [`FromStr`]: crate::str::FromStr
///
/// # Potential causes
///