From 80a73fda49b0138b8a7fb39bc36d95063fab8066 Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Mon, 22 Jul 2024 10:02:08 -0400 Subject: [PATCH] Fix unused config struct field on Windows --- src/config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.rs b/src/config.rs index 8cee778..9e18120 100644 --- a/src/config.rs +++ b/src/config.rs @@ -75,6 +75,7 @@ pub struct Config { pub ls_colors: Option, /// Whether or not we are writing to an interactive terminal + #[cfg_attr(not(unix), allow(unused))] pub interactive_terminal: bool, /// The type of file to search for. If set to `None`, all file types are displayed. If