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