Applied linter fixes

This commit is contained in:
Daniele Esposti authored and David Peter committed 2019-03-09 07:43:41 +01:00
1 parent a21ae614e6
commit 82f14121bd
12 files changed
+37 -44

No files matched your search

+2 -2
View File
@@ -21,8 +21,8 @@ pub enum OutputWrap {
}
impl OutputComponent {
pub fn components(&self, interactive_terminal: bool) -> &'static [OutputComponent] {
match *self {
pub fn components(self, interactive_terminal: bool) -> &'static [OutputComponent] {
match self {
OutputComponent::Auto => {
if interactive_terminal {
OutputComponent::Full.components(interactive_terminal)