File tree Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Expand file tree Collapse file tree 3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 4242#
4343# FIXME: need a scheme for changing this `nightly` value to `beta` and `stable`
4444# either automatically or manually.
45- export RUST_RELEASE_CHANNEL=nightly
45+ export RUST_RELEASE_CHANNEL=beta
4646if [ " $DEPLOY$DEPLOY_ALT " != " " ]; then
4747 RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --release-channel=$RUST_RELEASE_CHANNEL "
4848 RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --enable-llvm-static-stdcpp"
Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ impl<T: ?Sized> Box<T> {
300300 issue = "27730" ) ]
301301 #[ inline]
302302 pub unsafe fn from_unique ( u : Unique < T > ) -> Self {
303- Box ( u)
303+ mem :: transmute ( u)
304304 }
305305
306306 /// Consumes the `Box`, returning the wrapped raw pointer.
@@ -362,9 +362,7 @@ impl<T: ?Sized> Box<T> {
362362 issue = "27730" ) ]
363363 #[ inline]
364364 pub fn into_unique ( b : Box < T > ) -> Unique < T > {
365- let unique = b. 0 ;
366- mem:: forget ( b) ;
367- unique
365+ unsafe { mem:: transmute ( b) }
368366 }
369367
370368 /// Consumes and leaks the `Box`, returning a mutable reference,
Original file line number Diff line number Diff line change 1212# source tarball for a stable release you'll likely see `1.x.0` for rustc and
1313# `0.x.0` for Cargo where they were released on `date`.
1414
15- date: 2017-11-21
16- rustc: beta
17- cargo: beta
15+ date: 2018-01-02
16+ rustc: 1.23.0
17+ cargo: 0.24.0
1818
1919# When making a stable release the process currently looks like:
2020#
@@ -34,4 +34,4 @@ cargo: beta
3434# looking at a beta source tarball and it's uncommented we'll shortly comment it
3535# out.
3636
37- # dev: 1
37+ dev: 1
You can’t perform that action at this time.
0 commit comments