Closed edutools-service closed 1 year ago
The problem was reproduced. Issue on YouTrack created: https://youtrack.jetbrains.com/issue/EDC-833/Rustling-Course-Understanding-Ownership-What-is-ownership-Who-Owns-the-One-Ring-Clippy-underlines-correct-answer
With Clippy enabled, the IDE shows an error (red underline) for this section of code:
It complains that it looks like the code is trying to swap the two variables, and that I should use
std::mem::replace
instead. The check in the Description window continues to succeed as expected in spite of the error in the editor.