@@ -69,14 +69,14 @@ Compiler
69
69
70
70
Libraries
71
71
---------
72
- - [ The functions ` overflowing_{add, sub, mul, shl, shr} ` are now ` const `
72
+ - [ The methods ` overflowing_{add, sub, mul, shl, shr} ` are now ` const `
73
73
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} `
75
75
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
77
77
all signed numeric types.] [ 57105 ]
78
78
- [ 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 ` ,
80
80
` swap_bytes ` , ` from_be ` , ` from_le ` , ` to_be ` , ` to_le ` are now ` const ` for all
81
81
numeric types.] [ 57234 ]
82
82
- [ ` Ipv4Addr::new ` is now a ` const ` function] [ 57234 ]
@@ -105,9 +105,10 @@ Cargo
105
105
106
106
Compatibility Notes
107
107
-------------------
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.
111
112
112
113
[ 57615 ] : https://github.com/rust-lang/rust/pull/57615/
113
114
[ 57465 ] : https://github.com/rust-lang/rust/pull/57465/
0 commit comments