Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
NicEastvillage committed Feb 1, 2024
1 parent ba6ef62 commit e286743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cgaal-cli/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ fn parse_search_strategy_arg(args: &ArgMatches) -> Result<SearchStrategyOption,
Some("ihs") => Ok(SearchStrategyOption::Ihs),
Some("lrs") => Ok(SearchStrategyOption::Lrs),
Some("mix") => Ok(SearchStrategyOption::Mix),
Some(multiple) if multiple.contains(",") => Ok(SearchStrategyOption::Compo(multiple.split(",").map(|ss| match ss {
Some(multiple) if multiple.contains(',') => Ok(SearchStrategyOption::Compo(multiple.split(',').map(|ss| match ss {
"bfs" => Ok(CompositeSearchStrategyOption::Bfs),
"dfs" => Ok(CompositeSearchStrategyOption::Dfs),
"rdfs" => Ok(CompositeSearchStrategyOption::Rdfs),
Expand Down

0 comments on commit e286743

Please sign in to comment.