-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
S-needs-discussionStatus: Needs further discussion before merging or work can be startedStatus: Needs further discussion before merging or work can be startedgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy
Description
Currently there is https://github.com/Manishearth/rust-clippy/wiki#str_to_string and it tells you that to_string()
is slow. Should a lint warn people about this? As soon as specializations lands there will be no difference and you could argue that &str.to_owned() is not idiomatic, so there might be a lint that contradicts an earlier lint.
What do you think?
Metadata
Metadata
Assignees
Labels
S-needs-discussionStatus: Needs further discussion before merging or work can be startedStatus: Needs further discussion before merging or work can be startedgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy