Skip to content

Commit 0ab2aed

Browse files
authored
Update RELEASES.md
1 parent 8060eb4 commit 0ab2aed

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

RELEASES.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,14 @@ Compiler
6969

7070
Libraries
7171
---------
72-
- [The functions `overflowing_{add, sub, mul, shl, shr}` are now `const`
72+
- [The methods `overflowing_{add, sub, mul, shl, shr}` are now `const`
7373
functions for all numeric types.][57566]
74-
- [The functions `rotate_left`, `rotate_right`, and `wrapping_{add, sub, mul, shl, shr}`
74+
- [The methods `rotate_left`, `rotate_right`, and `wrapping_{add, sub, mul, shl, shr}`
7575
are now `const` functions for all numeric types.][57105]
76-
- [The functions `is_positive` and `is_negative` are now `const` functions for
76+
- [The methods `is_positive` and `is_negative` are now `const` functions for
7777
all signed numeric types.][57105]
7878
- [The `get` method for all `NonZero` types is now `const`.][57167]
79-
- [The functions `count_ones`, `count_zeros`, `leading_zeros`, `trailing_zeros`,
79+
- [The methods `count_ones`, `count_zeros`, `leading_zeros`, `trailing_zeros`,
8080
`swap_bytes`, `from_be`, `from_le`, `to_be`, `to_le` are now `const` for all
8181
numeric types.][57234]
8282
- [`Ipv4Addr::new` is now a `const` function][57234]
@@ -105,9 +105,10 @@ Cargo
105105

106106
Compatibility Notes
107107
-------------------
108-
- The functions `str::{trim_left, trim_right, trim_left_matches, trim_right_matches}`
109-
are now offically deprecated, and their usage will now produce a warning. Please use the
110-
`str::{trim_start, trim_end, trim_start_matches, trim_end_matches}` functions instead.
108+
- The methods `str::{trim_left, trim_right, trim_left_matches, trim_right_matches}`
109+
are now deprecated in the standard library, and their usage will now produce a warning.
110+
Please use the `str::{trim_start, trim_end, trim_start_matches, trim_end_matches}`
111+
methods instead.
111112

112113
[57615]: https://github.com/rust-lang/rust/pull/57615/
113114
[57465]: https://github.com/rust-lang/rust/pull/57465/

0 commit comments

Comments
 (0)