diff options
| author | Rukai <[email protected]> | 2021-05-18 22:11:20 +1000 |
|---|---|---|
| committer | Lucas Kent <[email protected]> | 2021-05-20 08:32:26 +1000 |
| commit | 2363a019e2f8005058ebd69f62cb87c778934d9f (patch) | |
| tree | 70a18f00aec166b79fbccc6b0a45e69169b83dde /embassy-std-examples | |
| parent | 58723a8e76a4bc917b044951859bc3314873a7f2 (diff) | |
Fix all warnings on embassy-rp and embassy-rp-examples and
embassy-std-examples
Diffstat (limited to 'embassy-std-examples')
| -rw-r--r-- | embassy-std-examples/src/bin/serial.rs | 1 | ||||
| -rw-r--r-- | embassy-std-examples/src/bin/tick.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/embassy-std-examples/src/bin/serial.rs b/embassy-std-examples/src/bin/serial.rs index 79f10c418..1b22dc0de 100644 --- a/embassy-std-examples/src/bin/serial.rs +++ b/embassy-std-examples/src/bin/serial.rs | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | #![feature(min_type_alias_impl_trait)] | 1 | #![feature(min_type_alias_impl_trait)] |
| 2 | #![feature(impl_trait_in_bindings)] | 2 | #![feature(impl_trait_in_bindings)] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 4 | 5 | ||
| 5 | #[path = "../serial_port.rs"] | 6 | #[path = "../serial_port.rs"] |
| 6 | mod serial_port; | 7 | mod serial_port; |
diff --git a/embassy-std-examples/src/bin/tick.rs b/embassy-std-examples/src/bin/tick.rs index 47713f7ba..6f30edb34 100644 --- a/embassy-std-examples/src/bin/tick.rs +++ b/embassy-std-examples/src/bin/tick.rs | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | #![feature(min_type_alias_impl_trait)] | 1 | #![feature(min_type_alias_impl_trait)] |
| 2 | #![feature(impl_trait_in_bindings)] | 2 | #![feature(impl_trait_in_bindings)] |
| 3 | #![feature(type_alias_impl_trait)] | 3 | #![feature(type_alias_impl_trait)] |
| 4 | #![allow(incomplete_features)] | ||
| 4 | 5 | ||
| 5 | use embassy::time::{Duration, Timer}; | 6 | use embassy::time::{Duration, Timer}; |
| 6 | use embassy::util::Forever; | 7 | use embassy::util::Forever; |
