diff --git a/src/highlighters/mod.rs b/src/highlighters/mod.rs index 75e7e7f..0af1aa2 100644 --- a/src/highlighters/mod.rs +++ b/src/highlighters/mod.rs @@ -92,7 +92,7 @@ impl Default for MietteHighlighter { } #[cfg(not(feature = "syntect-highlighter"))] fn default() -> Self { - return MietteHighlighter::nocolor(); + MietteHighlighter::nocolor() } }