From 677650a25c4172ca6aa3e03511ca55a95d18edb3 Mon Sep 17 00:00:00 2001 From: Michael Belyaev Date: Thu, 26 Sep 2024 18:21:15 +0100 Subject: [PATCH] format --- lib/core/src/format_string.rs | 3 +-- lib/core/src/lib.rs | 2 -- lib/localisation/src/lib.rs | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/core/src/format_string.rs b/lib/core/src/format_string.rs index 125532d..d395845 100644 --- a/lib/core/src/format_string.rs +++ b/lib/core/src/format_string.rs @@ -1,5 +1,4 @@ -use core::cmp::min; -use core::fmt; +use core::{cmp::min, fmt}; pub struct FormatString<'a> { buffer: &'a mut [u8], diff --git a/lib/core/src/lib.rs b/lib/core/src/lib.rs index 4591276..17226f9 100644 --- a/lib/core/src/lib.rs +++ b/lib/core/src/lib.rs @@ -5,5 +5,3 @@ pub mod log_types; pub mod mqtt; pub mod mqtt_topics; pub mod types; - - diff --git a/lib/localisation/src/lib.rs b/lib/localisation/src/lib.rs index 2e7f0d4..0c9ac1a 100644 --- a/lib/localisation/src/lib.rs +++ b/lib/localisation/src/lib.rs @@ -1 +1 @@ -#![no_std] \ No newline at end of file +#![no_std]