mirror of https://github.com/zkat/miette.git
fix(clippy): Fix `needless_return` lint. (#405)
This happens when building with `--features fancy`.
This commit is contained in:
parent
f3fb4c1ecd
commit
5f441d0115
|
|
@ -92,7 +92,7 @@ impl Default for MietteHighlighter {
|
|||
}
|
||||
#[cfg(not(feature = "syntect-highlighter"))]
|
||||
fn default() -> Self {
|
||||
return MietteHighlighter::nocolor();
|
||||
MietteHighlighter::nocolor()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue