Skip to content

Commit

Permalink
fix(clippy): Fix needless_return lint. (#405)
Browse files Browse the repository at this point in the history
This happens when building with `--features fancy`.
  • Loading branch information
waywardmonkeys authored Sep 26, 2024
1 parent f3fb4c1 commit 5f441d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/highlighters/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ impl Default for MietteHighlighter {
}
#[cfg(not(feature = "syntect-highlighter"))]
fn default() -> Self {
return MietteHighlighter::nocolor();
MietteHighlighter::nocolor()
}
}

Expand Down

0 comments on commit 5f441d0

Please sign in to comment.