style: allow unused field

This commit is contained in:
Daniel Eades 2022-01-04 08:14:00 +00:00 committed by Ed Page
parent 35d7841211
commit e8516a9098

View file

@ -8,6 +8,7 @@ use std::{
#[derive(Clone, Debug)] #[derive(Clone, Debug)]
pub(crate) struct Colorizer { pub(crate) struct Colorizer {
use_stderr: bool, use_stderr: bool,
#[allow(unused)]
color_when: ColorChoice, color_when: ColorChoice,
pieces: Vec<(String, Style)>, pieces: Vec<(String, Style)>,
} }