Skip to content

Commit 4806e0a

Browse files
authored
Minor grammar fix in doc comment for soft-deprecated methods
1 parent 70c5f6e commit 4806e0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/num/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2470,7 +2470,7 @@ fn read_ne_", stringify!($SelfT), "(input: &mut &[u8]) -> ", stringify!($SelfT),
24702470
doc_comment! {
24712471
concat!("**This method is soft-deprecated.**
24722472
2473-
Although using it won’t cause compilation warning,
2473+
Although using it won’t cause a compilation warning,
24742474
new code should use [`", stringify!($SelfT), "::MIN", "`](#associatedconstant.MIN) instead.
24752475
24762476
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."),
24862486
doc_comment! {
24872487
concat!("**This method is soft-deprecated.**
24882488
2489-
Although using it won’t cause compilation warning,
2489+
Although using it won’t cause a compilation warning,
24902490
new code should use [`", stringify!($SelfT), "::MAX", "`](#associatedconstant.MAX) instead.
24912491
24922492
Returns the largest value that can be represented by this integer type."),

0 commit comments

Comments
 (0)