diff options
| author | Pavel Grigorenko <GrigorenkoPV@ya.ru> | 2025-07-07 22:43:59 +0300 |
|---|---|---|
| committer | Pavel Grigorenko <GrigorenkoPV@ya.ru> | 2025-07-08 01:05:14 +0300 |
| commit | ae5cb5f66d88f75d88eb9d37fc1bf73c169f47c5 (patch) | |
| tree | 6f110f597f53d0b65ceca130fbf5387eab8eed89 | |
| parent | 1b0bc594a75dfc1cdedc6c17052cf44de101e632 (diff) | |
Mention more APIs in `ParseIntError` docs
| -rw-r--r-- | library/core/src/num/error.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/library/core/src/num/error.rs b/library/core/src/num/error.rs index a5242d60bf1..f9c4cdd0ebe 100644 --- a/library/core/src/num/error.rs +++ b/library/core/src/num/error.rs @@ -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 /// |
