aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Greig <adam@adamgreig.com> 2023-11-04 01:51:51 +0000
committerGravatar GitHub <noreply@github.com> 2023-11-04 01:51:51 +0000
commit7f4c2717cf0d56ba488da542fefe4371253d0ead (patch)
tree3476a2d4ce86c9beda0372dbaca280c6a5975aa1
parentacbdb6f10b8549a068ad408907830333517f82b1 (diff)
parent9adc81bee6a2a1cd21cd89f3b0904a79ec797955 (diff)
downloadcortex-m-7f4c2717cf0d56ba488da542fefe4371253d0ead.tar.gz
cortex-m-7f4c2717cf0d56ba488da542fefe4371253d0ead.tar.zst
cortex-m-7f4c2717cf0d56ba488da542fefe4371253d0ead.zip
Merge pull request #492 from newAM/cortex-m-hio-clippy
semihosting: silence clippy::result_unit_err in hio
-rw-r--r--cortex-m-semihosting/src/hio.rs3
1 files changed, 3 insertions, 0 deletions
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};