Rollup merge of #76358 - Wilfred:patch-3, r=lcnr
Minor grammar fix in doc comment for soft-deprecated methods
This commit is contained in:
commit
5d8925905c
1 changed files with 2 additions and 2 deletions
|
@ -2470,7 +2470,7 @@ fn read_ne_", stringify!($SelfT), "(input: &mut &[u8]) -> ", stringify!($SelfT),
|
||||||
doc_comment! {
|
doc_comment! {
|
||||||
concat!("**This method is soft-deprecated.**
|
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.
|
new code should use [`", stringify!($SelfT), "::MIN", "`](#associatedconstant.MIN) instead.
|
||||||
|
|
||||||
Returns the smallest value that can be represented by this integer type."),
|
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! {
|
doc_comment! {
|
||||||
concat!("**This method is soft-deprecated.**
|
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.
|
new code should use [`", stringify!($SelfT), "::MAX", "`](#associatedconstant.MAX) instead.
|
||||||
|
|
||||||
Returns the largest value that can be represented by this integer type."),
|
Returns the largest value that can be represented by this integer type."),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue