658a6f55b4f469eef96de72c7518908d801477e5
programming/rust.org
... | ... | @@ -8,4 +8,8 @@ |
8 | 8 | |
9 | 9 | =impl Trait= *is not* intended as a replacement for dynamic dispatch (=dyn Trait=). |
10 | 10 | |
11 | -It only allows to write a placeholder for some types that are unrepresentable, like closures and iterators. |
|
11 | +It only allows you to write a placeholder for some types that are unrepresentable, like closures and iterators. |
|
12 | + |
|
13 | +* Embedded Rust |
|
14 | +** General Reminders |
|
15 | +Implementing traits for all peripheral 'kinds' (as in peripherals that have the same function but different hardware implementations) eases migrating in the future from one implementation to the next and also allows you to implement virtual peripherals for testing without the real hardware. |