Run cargo fmt

This commit is contained in:
Héctor Ramón Jiménez 2022-07-09 17:05:45 +02:00
parent 15f794b7a8
commit 33a24b5821
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
2 changed files with 3 additions and 10 deletions

View file

@ -73,9 +73,8 @@ impl Path {
pub(super) fn dashed(path: &Path, line_dash: LineDash<'_>) -> Path {
Path::new(|builder| {
let segments_odd = (line_dash.segments.len() % 2 == 1).then(|| {
[line_dash.segments, line_dash.segments].concat()
});
let segments_odd = (line_dash.segments.len() % 2 == 1)
.then(|| [line_dash.segments, line_dash.segments].concat());
let mut draw_line = false;