We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unwrap_or_default
String
Clippy accepts this atm:
empty_string.unwrap_or_else(|| "".to_string());
It should suggest unwrap_or_default for this case, which is more concise:
empty_string.unwrap_or_default();
No response
@rustbot claim