From 887615968797886a681a5ca7774e32a9b412a734 Mon Sep 17 00:00:00 2001 From: "Jonathan Pallant (42 Technology)" Date: Mon, 27 Sep 2021 18:58:16 +0100 Subject: [PATCH] Ah, rustfmt. --- rp2040-hal/examples/uart.rs | 2 +- rp2040-hal/examples/watchdog.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rp2040-hal/examples/uart.rs b/rp2040-hal/examples/uart.rs index 0924d33..16459e1 100644 --- a/rp2040-hal/examples/uart.rs +++ b/rp2040-hal/examples/uart.rs @@ -26,9 +26,9 @@ use rp2040_hal as hal; use hal::pac; // Some traits we need +use core::fmt::Write; use embedded_time::fixed_point::FixedPoint; use rp2040_hal::clocks::Clock; -use core::fmt::Write; /// The linker will place this boot block at the start of our program image. We // need this to help the ROM bootloader get our code up and running. diff --git a/rp2040-hal/examples/watchdog.rs b/rp2040-hal/examples/watchdog.rs index 35611db..c901b97 100644 --- a/rp2040-hal/examples/watchdog.rs +++ b/rp2040-hal/examples/watchdog.rs @@ -26,8 +26,8 @@ use hal::pac; // Traits we need use embedded_hal::digital::v2::OutputPin; use embedded_hal::watchdog::{Watchdog, WatchdogEnable}; -use embedded_time::fixed_point::FixedPoint; use embedded_time::duration::Extensions; +use embedded_time::fixed_point::FixedPoint; use rp2040_hal::clocks::Clock; /// The linker will place this boot block at the start of our program image. We