From 4806e0ac930d68071fdba6fd7a89d8965dca6aa4 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Fri, 4 Sep 2020 19:50:54 -0700 Subject: [PATCH] Minor grammar fix in doc comment for soft-deprecated methods --- library/core/src/num/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/core/src/num/mod.rs b/library/core/src/num/mod.rs index 7a88cfbb74dd4..757ad5252bab3 100644 --- a/library/core/src/num/mod.rs +++ b/library/core/src/num/mod.rs @@ -2470,7 +2470,7 @@ fn read_ne_", stringify!($SelfT), "(input: &mut &[u8]) -> ", stringify!($SelfT), doc_comment! { concat!("**This method is soft-deprecated.** -Although using it won’t cause compilation warning, +Although using it won’t cause a compilation warning, new code should use [`", stringify!($SelfT), "::MIN", "`](#associatedconstant.MIN) instead. Returns the smallest value that can be represented by this integer type."), @@ -2486,7 +2486,7 @@ Returns the smallest value that can be represented by this integer type."), doc_comment! { concat!("**This method is soft-deprecated.** -Although using it won’t cause compilation warning, +Although using it won’t cause a compilation warning, new code should use [`", stringify!($SelfT), "::MAX", "`](#associatedconstant.MAX) instead. Returns the largest value that can be represented by this integer type."),