Skip to content

Commit

Permalink
Rollup merge of #76358 - Wilfred:patch-3, r=lcnr
Browse files Browse the repository at this point in the history
Minor grammar fix in doc comment for soft-deprecated methods
  • Loading branch information
Dylan-DPC authored Sep 6, 2020
2 parents d444913 + 4806e0a commit 5d89259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/num/mod.rs
Original file line number Diff line number Diff line change
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 5d89259

Please sign in to comment.