Skip to content

Audit std for places where a Send + 'static bound can be relaxed to just Send #22444

Closed
@huonw

Description

@huonw

Once #22319 lands, rust-lang/rfcs#458 will be implemented and so Send will no longer imply 'static. Most users of Send in the standard library were changed to Send + 'static to conservatively ensure safety, but many can likely lose the 'static bound.

In #22319 (specifically, in comments on huonw@a85afe6), @nikomatsakis pointed out these as likely candidates:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions