From ea3118ca0dae57e45da3fd947efd7e2e38f92307 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Wed, 30 Dec 2020 20:38:58 -0500 Subject: [PATCH] Fix link --- library/core/src/num/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/num/error.rs b/library/core/src/num/error.rs index dbcc7d4672b5a..e2cc8faf8547d 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 ///