This repository has been archived by the owner on Apr 18, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2349: Update book example pong-tutorial-06 to fix clippy warning r=CleanCut a=MrTanoshii ## Description Clippy will warn of https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref The examples were already fixed by #2181 but the book was not. ## Additions N/A ## Removals N/A ## Modifications N/A ## PR Checklist By placing an x in the boxes I certify that I have: - [x] Updated the content of the book if this PR would make the book outdated. - [ ] Added a changelog entry if this will impact users, or modified more than 5 lines of Rust that wasn't a doc comment. - [ ] Added unit tests for new code added in this PR. - [x] Acknowledged that by making this pull request I release this code under an MIT/Apache 2.0 dual licensing scheme. If this modified or created any rs files: - [x] Ran `cargo +stable fmt --all` - [x] Ran `cargo clippy --all --features "empty"` - [x] Ran `cargo test --all --features "empty"` Co-authored-by: MrTanoshii <47116127+MrTanoshii@users.noreply.github.com>
- Loading branch information