Skip to content

Replace std::io::lazy::Lazy with std::cell::LazyCell? #101354

@frewsxcv

Description

@frewsxcv
Member

Could std::io::lazy::Lazy be replaced with std::cell::Lazy? What does the former offer that the latter doesn't already have?

Activity

compiler-errors

compiler-errors commented on Sep 3, 2022

@compiler-errors
Member
frewsxcv

frewsxcv commented on Sep 3, 2022

@frewsxcv
MemberAuthor

Oh I'm linking to an old git SHA oops. It's already gone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @frewsxcv@compiler-errors

        Issue actions

          Replace `std::io::lazy::Lazy` with `std::cell::LazyCell`? · Issue #101354 · rust-lang/rust