mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
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
@ -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."),
|
||||
|
Loading…
Reference in New Issue
Block a user