From 9adc81bee6a2a1cd21cd89f3b0904a79ec797955 Mon Sep 17 00:00:00 2001 From: Alex Martens Date: Sun, 29 Oct 2023 15:55:40 -0700 Subject: semihosting: silence clippy::result_unit_err in hio --- cortex-m-semihosting/src/hio.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cortex-m-semihosting') diff --git a/cortex-m-semihosting/src/hio.rs b/cortex-m-semihosting/src/hio.rs index b6b6c7b..e0614ad 100644 --- a/cortex-m-semihosting/src/hio.rs +++ b/cortex-m-semihosting/src/hio.rs @@ -1,5 +1,8 @@ //! Host I/O +// Fixing this lint requires a breaking change that does not add much value +#![allow(clippy::result_unit_err)] + use crate::nr; use core::{fmt, slice}; -- cgit v1.2.3