the advice for unused return value of std::option::Option::<T>::map_or
is wrong
#11282
Labels
C-bug
Category: Clippy is not doing the correct thing
Summary
before:
after:
Reproducer
I tried this code:
I expected to see this happen:
Instead, this happened:
Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: