ignore dead code in shell.rs

when the debug stuff is commented out, a bunch of unused code
warnings happen in the shell interface
This commit is contained in:
bunnie 2025-01-01 22:48:52 +08:00
parent 03d67de1f6
commit c8cb5cda47

View file

@ -2,6 +2,9 @@
// SPDX-FileCopyrightText: 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
// SPDX-License-Identifier: Apache-2.0
// allow all functions to go unused in case debug is disabled with a feature flag
#![allow(dead_code)]
use core::fmt;
use crate::{