diff --git a/src/style.rs b/src/style.rs index 56b04ee1..fe08995f 100644 --- a/src/style.rs +++ b/src/style.rs @@ -81,6 +81,6 @@ impl OutputComponents { } pub fn plain(&self) -> bool { - self.0.is_empty() + self.0.iter().all(|c| c == &OutputComponent::Plain) } }