You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2017-04-27-Rust-1.17.md
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -168,10 +168,11 @@ See the [detailed release notes][notes] for more.
168
168
169
169
#### Library stabilizations
170
170
171
-
17 new bits of API were stabilized this release:
171
+
19 new bits of API were stabilized this release:
172
172
173
173
*[`Arc::into_raw`] and [`Rc::into_raw`] let you consume an `Arc` or `Rc` and get a raw pointer.
174
174
*[`Arc::from_raw`] and [`Rc::from_raw`] let you take that raw pointer and get an `Arc` or `Rc`.
175
+
*[`Arc::ptr_eq`] and [`Rc::ptr_eq`] return true if the two `Arc`s or two `Rc`s point to the same value (not just values that compare as equal).
175
176
*[`Ordering::then`] lets you chain two `Ordering`s together, and [`Ordering::then_with`] lets you do it with a function.
176
177
*[`BTreeMap::range`] allows you to iterate over a portion of a `BTreeMap`, and [`BTreeMap::range_mut`] lets you do it mutably. [`collections::Bound`] can give you even more control.
177
178
*[`process::abort`] will completely terminate a process in an abnormal fashion.
@@ -184,6 +185,7 @@ See the [detailed release notes][notes] for more.
0 commit comments