Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q5: how to fix warning: unused variable? #5

Open
yangwenmai opened this issue Apr 23, 2019 · 0 comments
Open

Q5: how to fix warning: unused variable? #5

yangwenmai opened this issue Apr 23, 2019 · 0 comments
Labels
question Further information is requested

Comments

@yangwenmai
Copy link
Owner

当我们在什么 let remainder 但是又没有使用它时,编译器会直接给出警告。

warning: unused variable: `remainder`

运动 cargo run,直接给出帮助提示:

   |         ^^^^^^^^^ help: consider prefixing with an underscore: `_remainder`
@yangwenmai yangwenmai added the question Further information is requested label Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant