cargo fmt --all

This commit is contained in:
KtorZ
2024-03-03 21:05:43 +01:00
parent fbda31d980
commit 900b73b21a
4 changed files with 22 additions and 18 deletions

View File

@@ -82,8 +82,8 @@ pub fn exec(
}
#[allow(clippy::type_complexity)]
pub fn filter_traces_parser()
-> MapValueParser<PossibleValuesParser, fn(String) -> fn(TraceLevel) -> Tracing> {
pub fn filter_traces_parser(
) -> MapValueParser<PossibleValuesParser, fn(String) -> fn(TraceLevel) -> Tracing> {
PossibleValuesParser::new(["user-defined", "compiler-generated", "all"]).map(
|s: String| match s.as_str() {
"user-defined" => Tracing::UserDefined,