Rollup merge of #76358 - Wilfred:patch-3, r=lcnr

Minor grammar fix in doc comment for soft-deprecated methods
This commit is contained in:
Dylan DPC 2020-09-07 01:18:15 +02:00 committed by GitHub
commit 5d8925905c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 wont cause compilation warning,
Although using it wont 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 wont cause compilation warning,
Although using it wont 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."),