chore: fix fmt

This commit is contained in:
rvcas 2024-03-04 13:03:07 -05:00
parent df3baa082e
commit c7cd89d127
No known key found for this signature in database
GPG Key ID: C09B64E263F7D68C
1 changed files with 2 additions and 2 deletions

View File

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