Skip to content

Unique::new now returns Option #345

@crawfxrd

Description

@crawfxrd

Ref: rust-lang/rust/pull/42959

Unique::new was changed to return an Option<Self>.
Unique::new_unchecked offers the same behavior as the old new.

I am up to Printing Characters. print_something does not compile using rustc 1.21.0-nightly (52a330969 2017-07-27) due to this change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions