Skip to content

Commit

Permalink
Minor grammar fix in doc comment for soft-deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Sep 5, 2020
1 parent 70c5f6e commit 4806e0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/num/mod.rs
Expand Up @@ -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."),
Expand All @@ -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."),
Expand Down

0 comments on commit 4806e0a

Please sign in to comment.