Skip to content

Add Fn* blanket impls for Arc #89727

Description

@bsodmike

Hi all,

Apologies if I've opened this issue in the wrong place; I want to work on extending Box<dyn Fn()> to Arc.

The Boxed implementation has been discussed here: #48055 and added in this PR #59500. Can I use this existing RFC or should we open a new one?

The feature gate could be called arc_closure_impls. This discrepancy was discussed by @jonhoo in his latest "Crust of the Rust" episode covering closures etc.

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

      Issue actions