fix(clippy): Fix `needless_return` lint.

This happens when building with `--features fancy`.
This commit is contained in:
Bruce Mitchener 2024-09-26 09:02:47 +07:00
parent f3fb4c1ecd
commit 5bdff7f42d
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ impl Default for MietteHighlighter {
}
#[cfg(not(feature = "syntect-highlighter"))]
fn default() -> Self {
return MietteHighlighter::nocolor();
MietteHighlighter::nocolor()
}
}