Skip to content

using 'self in return values doesn't appear to require a 'self parameter #5671

@thestinger

Description

@thestinger

as shown by https://github.com/mozilla/rust/pull/5670/files

I was already using 'self in the return values for find and find_mut in the Map trait.

I'm not entirely sure this is a bug.... but it's an inconsistency.

Metadata

Metadata

Assignees

Labels

A-lifetimesArea: Lifetimes / regions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions