style: apply rustfmt formatting

This commit is contained in:
Dylan M. Taylor
2026-10-24 02:23:12 +00:00
parent 286a01eaae
commit 3ef6433309
3 changed files with 5 additions and 9 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ use deckcraft_model::{
};
use serde_json::{Value, json};
use super::{bad, has_selection, str_param, xfrm_of, CommandSpec};
use super::{CommandSpec, bad, has_selection, str_param, xfrm_of};
use crate::{EngineError, Result, Session};
/// Deepest outline level the Text Pane allows.
+2 -1
View File
@@ -1238,7 +1238,8 @@ impl FontDb {
}
}
}
let mut paths: Vec<std::path::PathBuf> = self.catalog.read().unwrap_or_else(std::sync::PoisonError::into_inner).iter().map(|e| e.path.clone()).collect();
let mut paths: Vec<std::path::PathBuf> =
self.catalog.read().unwrap_or_else(std::sync::PoisonError::into_inner).iter().map(|e| e.path.clone()).collect();
paths.sort();
paths.dedup();
for p in paths {
+2 -7
View File
@@ -512,13 +512,8 @@ impl Chart {
} else {
vec![]
};
let mut c = Chart {
kind,
categories,
gridlines: true,
legend: (kind == ChartType::BoxWhisker).then(|| "b".to_string()),
..Default::default()
};
let mut c =
Chart { kind, categories, gridlines: true, legend: (kind == ChartType::BoxWhisker).then(|| "b".to_string()), ..Default::default() };
for s in 0..n_series {
c.series.push(Series {
name: format!("Series {}", s + 1),