diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-07-11 07:35:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-11 07:35:20 +0200 |
| commit | 2ffaa1ec0ddef46d60851d51109e359cdf159bfd (patch) | |
| tree | a8e09a8f42d15d71f15b48a6532d2c9435e0cafe | |
| parent | 5cbf7cf9c4dbda63719309a015d2959370aa9c6b (diff) | |
| parent | ae5cb5f66d88f75d88eb9d37fc1bf73c169f47c5 (diff) | |
| download | rust-2ffaa1ec0ddef46d60851d51109e359cdf159bfd.tar.gz rust-2ffaa1ec0ddef46d60851d51109e359cdf159bfd.zip | |
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
| -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 /// |
