Closed jamwaffles closed 4 months ago
Discovered and fixed by temporarily adding #![deny(clippy::indexing_slicing)] (https://rust-lang.github.io/rust-clippy/master/index.html#/indexing_slicing). Allows more graceful error handling.
#![deny(clippy::indexing_slicing)]
Slight binary size reduction:
master
text data bss dec hex filename 89768 112 57288 147168 23ee0 ethercrab-stm32-embassy
This branch:
text data bss dec hex filename 88800 112 57288 146200 23b18 ethercrab-stm32-embassy
Performance is unchanged.
Also added a few general clippy fixes to this PR.
Discovered and fixed by temporarily adding
#![deny(clippy::indexing_slicing)]
(https://rust-lang.github.io/rust-clippy/master/index.html#/indexing_slicing). Allows more graceful error handling.Slight binary size reduction:
master
This branch:
Performance is unchanged.
Also added a few general clippy fixes to this PR.