Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UniqueRc: support allocators and T: ?Sized. #126285

Merged
merged 1 commit into from
Jun 14, 2024
Merged

Commits on Jun 11, 2024

  1. UniqueRc: support allocators and T: ?Sized.

    Added the following (all unstable):
    
    * Defaulted type pararameter `A: Allocator`.
    * `UniqueRc::new_in()`.
    * `T:  ?Sized` where possible.
    * `impl CoerceUnsized for UniqueRc`.
    * Drive-by doc polish: links and periods at the end of sentences.
    
    These changes are motivated by supporting the implementation of unsized
    `Rc::make_mut()` (PR rust-lang#116113), but are also intended to be obvious
    generalizations of `UniqueRc` to support the things `Rc` does.
    kpreid committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    27ecb71 View commit details
    Browse the repository at this point in the history