Skip to content

Commit

Permalink
Address clippy lints.
Browse files Browse the repository at this point in the history
  • Loading branch information
azriel91 committed Jul 17, 2024
1 parent 62e83f5 commit 7c3bab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crate/model/src/common/graphviz_attrs/pack_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl FromStr for PackMode {
} else {
None
};
let flags_end = number_start.unwrap_or_else(|| array_args.len());
let flags_end = number_start.unwrap_or(array_args.len());
let flags = flags_start
.map(|flags_start| {
let flag_candidates = &array_args[flags_start..flags_end];
Expand Down

0 comments on commit 7c3bab5

Please sign in to comment.