fix(clippy): Fix `needless_return` lint. (#405)

This happens when building with `--features fancy`.
This commit is contained in:
Bruce Mitchener 2024-09-26 23:32:58 +07:00 committed by GitHub
parent f3fb4c1ecd
commit 5f441d0115
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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()
}
}