@@ -122,16 +122,16 @@ The following methods and trait implementations are now stabilized:
122
122
123
123
- [ ` array::from_fn ` ]
124
124
- [ ` Box::into_pin ` ]
125
- - [ ` BinaryHeap::try_reserve_exact ` ]
126
125
- [ ` BinaryHeap::try_reserve ` ]
126
+ - [ ` BinaryHeap::try_reserve_exact ` ]
127
127
- [ ` OsString::try_reserve ` ]
128
128
- [ ` OsString::try_reserve_exact ` ]
129
129
- [ ` PathBuf::try_reserve ` ]
130
130
- [ ` PathBuf::try_reserve_exact ` ]
131
131
- [ ` Path::try_exists ` ]
132
132
- [ ` Ref::filter_map ` ]
133
133
- [ ` RefMut::filter_map ` ]
134
- - [ ` NonNull::<[T]>::len ` ]
134
+ - [ ` NonNull::<[T]>::len ` ] [ `NonNull::<slice>::len` ]
135
135
- [ ` ToOwned::clone_into ` ]
136
136
- [ ` Ipv6Addr::to_ipv4_mapped ` ]
137
137
- [ ` unix::io::AsFd ` ]
@@ -170,7 +170,54 @@ These APIs are now usable in const contexts:
170
170
- [ ` Mutex::new ` ]
171
171
- [ ` RwLock::new ` ]
172
172
173
- (Links for stabilized APIs are a todo, waiting on release notes to have them.)
173
+ [ `array::from_fn` ] : https://doc.rust-lang.org/stable/std/array/fn.from_fn.html
174
+ [ `Box::into_pin` ] : https://doc.rust-lang.org/stable/std/boxed/struct.Box.html#method.into_pin
175
+ [ `BinaryHeap::try_reserve_exact` ] : https://doc.rust-lang.org/stable/alloc/collections/binary_heap/struct.BinaryHeap.html#method.try_reserve_exact
176
+ [ `BinaryHeap::try_reserve` ] : https://doc.rust-lang.org/stable/std/collections/struct.BinaryHeap.html#method.try_reserve
177
+ [ `OsString::try_reserve` ] : https://doc.rust-lang.org/stable/std/ffi/struct.OsString.html#method.try_reserve
178
+ [ `OsString::try_reserve_exact` ] : https://doc.rust-lang.org/stable/std/ffi/struct.OsString.html#method.try_reserve_exact
179
+ [ `PathBuf::try_reserve` ] : https://doc.rust-lang.org/stable/std/path/struct.PathBuf.html#method.try_reserve
180
+ [ `PathBuf::try_reserve_exact` ] : https://doc.rust-lang.org/stable/std/path/struct.PathBuf.html#method.try_reserve_exact
181
+ [ `Path::try_exists` ] : https://doc.rust-lang.org/stable/std/path/struct.Path.html#method.try_exists
182
+ [ `Ref::filter_map` ] : https://doc.rust-lang.org/stable/std/cell/struct.Ref.html#method.filter_map
183
+ [ `RefMut::filter_map` ] : https://doc.rust-lang.org/stable/std/cell/struct.RefMut.html#method.filter_map
184
+ [ `NonNull::<slice>::len` ] : https://doc.rust-lang.org/stable/std/ptr/struct.NonNull.html#method.len
185
+ [ `ToOwned::clone_into` ] : https://doc.rust-lang.org/stable/std/borrow/trait.ToOwned.html#method.clone_into
186
+ [ `Ipv6Addr::to_ipv4_mapped` ] : https://doc.rust-lang.org/stable/std/net/struct.Ipv6Addr.html#method.to_ipv4_mapped
187
+ [ `unix::io::AsFd` ] : https://doc.rust-lang.org/stable/std/os/unix/io/trait.AsFd.html
188
+ [ `unix::io::BorrowedFd<'fd>` ] : https://doc.rust-lang.org/stable/std/os/unix/io/struct.BorrowedFd.html
189
+ [ `unix::io::OwnedFd` ] : https://doc.rust-lang.org/stable/std/os/unix/io/struct.OwnedFd.html
190
+ [ `windows::io::AsHandle` ] : https://doc.rust-lang.org/stable/std/os/windows/io/trait.AsHandle.html
191
+ [ `windows::io::BorrowedHandle<'handle>` ] : https://doc.rust-lang.org/stable/std/os/windows/io/struct.BorrowedHandle.html
192
+ [ `windows::io::OwnedHandle` ] : https://doc.rust-lang.org/stable/std/os/windows/io/struct.OwnedHandle.html
193
+ [ `windows::io::HandleOrInvalid` ] : https://doc.rust-lang.org/stable/std/os/windows/io/struct.HandleOrInvalid.html
194
+ [ `windows::io::HandleOrNull` ] : https://doc.rust-lang.org/stable/std/os/windows/io/struct.HandleOrNull.html
195
+ [ `windows::io::InvalidHandleError` ] : https://doc.rust-lang.org/stable/std/os/windows/io/struct.InvalidHandleError.html
196
+ [ `windows::io::NullHandleError` ] : https://doc.rust-lang.org/stable/std/os/windows/io/struct.NullHandleError.html
197
+ [ `windows::io::AsSocket` ] : https://doc.rust-lang.org/stable/std/os/windows/io/trait.AsSocket.html
198
+ [ `windows::io::BorrowedSocket<'handle>` ] : https://doc.rust-lang.org/stable/std/os/windows/io/struct.BorrowedSocket.html
199
+ [ `windows::io::OwnedSocket` ] : https://doc.rust-lang.org/stable/std/os/windows/io/struct.OwnedSocket.html
200
+ [ `thread::scope` ] : https://doc.rust-lang.org/stable/std/thread/fn.scope.html
201
+ [ `thread::Scope` ] : https://doc.rust-lang.org/stable/std/thread/struct.Scope.html
202
+ [ `thread::ScopedJoinHandle` ] : https://doc.rust-lang.org/stable/std/thread/struct.ScopedJoinHandle.html
203
+
204
+ [ `array::from_ref` ] : https://doc.rust-lang.org/stable/std/array/fn.from_ref.html
205
+ [ `slice::from_ref` ] : https://doc.rust-lang.org/stable/std/slice/fn.from_ref.html
206
+ [ `intrinsics::copy` ] : https://doc.rust-lang.org/stable/std/intrinsics/fn.copy.html
207
+ [ `intrinsics::copy_nonoverlapping` ] : https://doc.rust-lang.org/stable/std/intrinsics/fn.copy_nonoverlapping.html
208
+ [ `<*const T>::copy_to` ] : https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.copy_to
209
+ [ `<*const T>::copy_to_nonoverlapping` ] : https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.copy_to_nonoverlapping
210
+ [ `<*mut T>::copy_to` ] : https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.copy_to-1
211
+ [ `<*mut T>::copy_to_nonoverlapping` ] : https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.copy_to_nonoverlapping-1
212
+ [ `<*mut T>::copy_from` ] : https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.copy_from
213
+ [ `<*mut T>::copy_from_nonoverlapping` ] : https://doc.rust-lang.org/stable/std/primitive.pointer.html#method.copy_from_nonoverlapping
214
+ [ `str::from_utf8` ] : https://doc.rust-lang.org/stable/std/str/fn.from_utf8.html
215
+ [ `Utf8Error::error_len` ] : https://doc.rust-lang.org/stable/std/str/struct.Utf8Error.html#method.error_len
216
+ [ `Utf8Error::valid_up_to` ] : https://doc.rust-lang.org/stable/std/str/struct.Utf8Error.html#method.valid_up_to
217
+ [ `Condvar::new` ] : https://doc.rust-lang.org/stable/std/sync/struct.Condvar.html#method.new
218
+ [ `Mutex::new` ] : https://doc.rust-lang.org/stable/std/sync/struct.Mutex.html#method.new
219
+ [ `RwLock::new` ] : https://doc.rust-lang.org/stable/std/sync/struct.RwLock.html#method.new
220
+
174
221
175
222
### Other changes
176
223
@@ -184,4 +231,3 @@ and [Clippy](https://github.com/rust-lang/rust-clippy/blob/master/CHANGELOG.md#r
184
231
Many people came together to create Rust 1.63.0.
185
232
We couldn't have done it without all of you.
186
233
[ Thanks!] ( https://thanks.rust-lang.org/rust/1.63.0/ )
187
-
0 commit comments