about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-09-07 01:18:15 +0200
committerGitHub <noreply@github.com>2020-09-07 01:18:15 +0200
commit5d8925905ce3d1498e730e90c526b2015365ff5a (patch)
treebacf5e20d84b2271c3872d27c6039b38afe90416
parentd4449138405ba1e7f14c5b3a72209a420a51c2fd (diff)
parent4806e0ac930d68071fdba6fd7a89d8965dca6aa4 (diff)
Rollup merge of #76358 - Wilfred:patch-3, r=lcnr
Minor grammar fix in doc comment for soft-deprecated methods
-rw-r--r--library/core/src/num/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/num/mod.rs b/library/core/src/num/mod.rs
index 7a88cfbb74d..757ad5252ba 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."),