about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2020-09-04 19:50:54 -0700
committerGitHub <noreply@github.com>2020-09-04 19:50:54 -0700
commit4806e0ac930d68071fdba6fd7a89d8965dca6aa4 (patch)
treebf22ef00c2be31246546f7e13e591177a6b5e264
parent70c5f6efc445963bbfa5dd53f81c245741eac8cb (diff)
downloadrust-4806e0ac930d68071fdba6fd7a89d8965dca6aa4.tar.gz
rust-4806e0ac930d68071fdba6fd7a89d8965dca6aa4.zip
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."),