Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
463: embedded-hal: digital: add #[inline] hints for PinState functions r=Dirbaio a=luojia65 Add inline hints for: - `<PinState as Not>::not` - `<PinState as From<bool>>::from` - `<bool as From<PinState>>::from` Those hints would allow further optimizations if PinState structure functions is used on embedded-hal projects. Co-authored-by: Luo Jia / Zhouqi Jiang <luojia@hust.edu.cn>
- Loading branch information