From 702a0491db0fef8ee15cd6fcff3138812da2c2aa Mon Sep 17 00:00:00 2001 From: Nathan Vegdahl Date: Thu, 1 Jul 2021 10:41:20 -0700 Subject: Remove #[allow(unused)] from helix-term, and fix unused imports. Lots of other warning still left. Will address in subsequent commits. --- helix-term/src/config.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'helix-term/src/config.rs') diff --git a/helix-term/src/config.rs b/helix-term/src/config.rs index 3c05144a..b5ccbdfb 100644 --- a/helix-term/src/config.rs +++ b/helix-term/src/config.rs @@ -1,10 +1,10 @@ -use anyhow::{Error, Result}; use serde::Deserialize; -use std::collections::HashMap; -use crate::commands::Command; use crate::keymap::Keymaps; +#[cfg(test)] +use crate::commands::Command; + #[derive(Debug, Default, Clone, PartialEq, Deserialize)] pub struct Config { pub theme: Option, -- cgit v1.2.3-70-g09d2