diff --git a/hive-c0re/src/dashboard.rs b/hive-c0re/src/dashboard.rs index d29cc544..025bc4ee 100644 --- a/hive-c0re/src/dashboard.rs +++ b/hive-c0re/src/dashboard.rs @@ -484,7 +484,7 @@ fn parse_peer_hives() -> Vec { #[derive(serde::Deserialize)] struct Raw { domain: String, - cert_fingerprint: Option, + _cert_fingerprint: Option, } let Ok(json) = std::env::var("HYPERHIVE_PEERS") else { return Vec::new(); diff --git a/hive-priv/src/main.rs b/hive-priv/src/main.rs index 37753711..b37ba141 100644 --- a/hive-priv/src/main.rs +++ b/hive-priv/src/main.rs @@ -376,7 +376,7 @@ fn write_nspawn_flags(container: &str, binds: &[BindMount]) -> Result<()> { let path = format!("/etc/nixos-containers/{container}.conf"); let original = std::fs::read_to_string(&path) .with_context(|| format!("read {path}"))?; - let mut lines: Vec<&str> = original + let lines: Vec<&str> = original .lines() .filter(|line| { let t = line.trim_start();