Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stabilization for
owned
(now boxed
) and cell
This PR is the outcome of the library stabilization meeting for the `liballoc::owned` and `libcore::cell` modules. Aside from the stability attributes, there are a few breaking changes: * The `owned` modules is now named `boxed`, to better represent its contents. (`box` was unavailable, since it's a keyword.) This will help avoid the misconception that `Box` plays a special role wrt ownership. * The `AnyOwnExt` extension trait is renamed to `BoxAny`, and its `move` method is renamed to `downcast`, in both cases to improve clarity. * The recently-added `AnySendOwnExt` extension trait is removed; it was not being used and is unnecessary. [breaking-change]
- Loading branch information
Showing
49 changed files
with
112 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
e0ede9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from alexcrichton
at aturon@e0ede9c
e0ede9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging aturon/rust/box-cell-stability = e0ede9c into auto
e0ede9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aturon/rust/box-cell-stability = e0ede9c merged ok, testing candidate = ffd9966
e0ede9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/318
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/319
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/318
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/319
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/321
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/322
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/321
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/327
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/322
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/321
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/324
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/322
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/322
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/323
e0ede9c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = ffd9966