about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/core/src/num/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/num/error.rs b/library/core/src/num/error.rs
index dbcc7d4672b..e2cc8faf854 100644
--- a/library/core/src/num/error.rs
+++ b/library/core/src/num/error.rs
@@ -54,7 +54,7 @@ impl From<!> for TryFromIntError {
 ///
 /// Among other causes, `ParseIntError` can be thrown because of leading or trailing whitespace
 /// in the string e.g., when it is obtained from the standard input.
-/// Using the [`str.trim()`] method ensures that no whitespace remains before parsing.
+/// Using the [`str::trim()`] method ensures that no whitespace remains before parsing.
 ///
 /// # Example
 ///