Skip to content

Commit

Permalink
style: clippy suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
de-sh committed Jul 28, 2023
1 parent bf23ae7 commit 8c12bb7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions uplink/src/base/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ use std::{collections::HashMap, fmt::Debug};

use serde::{Deserialize, Serialize};

#[cfg(any(target_os = "linux"))]
#[cfg(target_os = "linux")]
use crate::collector::journalctl::JournalCtlConfig;
#[cfg(any(target_os = "android"))]
#[cfg(target_os = "android")]
use crate::collector::logcat::LogcatConfig;

use self::bridge::stream::MAX_BUFFER_SIZE;
Expand Down Expand Up @@ -230,8 +230,8 @@ pub struct Config {
pub action_redirections: HashMap<String, String>,
#[serde(default)]
pub ignore_actions_if_no_clients: bool,
#[cfg(any(target_os = "linux"))]
#[cfg(target_os = "linux")]
pub logging: Option<JournalCtlConfig>,
#[cfg(any(target_os = "android"))]
#[cfg(target_os = "android")]
pub logging: Option<LogcatConfig>,
}

0 comments on commit 8c12bb7

Please sign in to comment.