Skip to content

Commit 4de9193

Browse files
committed
Fix unused import warning
1 parent cf01b4f commit 4de9193

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/app.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,7 @@ use crate::{
9292

9393
#[cfg(feature = "logging")]
9494
use crate::{
95-
buffer::{LoggingEvent, LoggingHandle, LoggingWorkerMissing},
96-
keybinds::LoggingAction,
97-
settings::Logging,
95+
buffer::LoggingEvent, keybinds::LoggingAction, settings::Logging,
9896
tui::logging::sync_logs_button,
9997
};
10098

@@ -5016,7 +5014,7 @@ pub enum YapLoadDefmtError {
50165014
DefmtLoad(#[from] DefmtLoadError),
50175015
#[cfg(feature = "logging")]
50185016
#[error("failed to send logging worker new defmt table")]
5019-
LoggingWorker(#[from] LoggingWorkerMissing),
5017+
LoggingWorker(#[from] crate::buffer::LoggingWorkerMissing),
50205018
#[cfg(feature = "defmt-watch")]
50215019
#[error(transparent)]
50225020
ElfWatcher(#[from] ElfWatcherMissing),
@@ -5027,7 +5025,7 @@ pub fn _try_load_defmt_elf(
50275025
path: &Utf8Path,
50285026
decoder_opt: &mut Option<Arc<DefmtDecoder>>,
50295027
recent_elfs: &mut DefmtRecentElfs,
5030-
#[cfg(feature = "logging")] logging: &LoggingHandle,
5028+
#[cfg(feature = "logging")] logging: &crate::buffer::LoggingHandle,
50315029
#[cfg(feature = "defmt-watch")] watcher_handle: &mut ElfWatchHandle,
50325030
) -> Result<Option<LocationsError>, YapLoadDefmtError> {
50335031
let new_decoder = DefmtDecoder::from_elf_path(path);

0 commit comments

Comments
 (0)