• A
    Stabilization for `owned` (now `boxed`) and `cell` · e0ede9c6
    Aaron Turon 提交于
    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]
    e0ede9c6
new-box-syntax-bad.rs 924 字节