chore: clippy

This commit is contained in:
Edward Langley
2026-04-06 23:21:36 -07:00
parent 9b8f939245
commit b3d80e2986
2 changed files with 4 additions and 4 deletions

View File

@ -679,7 +679,7 @@ impl Cmd for EditOrDrill {
let is_synthetic = ctx let is_synthetic = ctx
.cell_key() .cell_key()
.as_ref() .as_ref()
.and_then(|k| crate::view::synthetic_record_info(k)) .and_then(crate::view::synthetic_record_info)
.is_some(); .is_some();
let is_aggregated = !is_synthetic && regular_none; let is_aggregated = !is_synthetic && regular_none;
if is_aggregated { if is_aggregated {
@ -707,7 +707,7 @@ impl Cmd for AddRecordRow {
let is_records = ctx let is_records = ctx
.cell_key() .cell_key()
.as_ref() .as_ref()
.and_then(|k| crate::view::synthetic_record_info(k)) .and_then(crate::view::synthetic_record_info)
.is_some(); .is_some();
if !is_records { if !is_records {
return vec![effect::set_status( return vec![effect::set_status(
@ -749,7 +749,7 @@ impl Cmd for OpenRecordRow {
let is_records = ctx let is_records = ctx
.cell_key() .cell_key()
.as_ref() .as_ref()
.and_then(|k| crate::view::synthetic_record_info(k)) .and_then(crate::view::synthetic_record_info)
.is_some(); .is_some();
if !is_records { if !is_records {
return vec![effect::set_status( return vec![effect::set_status(

View File

@ -59,7 +59,7 @@ impl<'a> GridWidget<'a> {
let n_col_levels = layout.col_cats.len().max(1); let n_col_levels = layout.col_cats.len().max(1);
let n_row_levels = layout.row_cats.len().max(1); let n_row_levels = layout.row_cats.len().max(1);
let col_widths = compute_col_widths(self.model, &layout, fmt_comma, fmt_decimals); let col_widths = compute_col_widths(self.model, layout, fmt_comma, fmt_decimals);
// ── Adaptive row header widths ─────────────────────────────── // ── Adaptive row header widths ───────────────────────────────
let data_row_items: Vec<&Vec<String>> = layout let data_row_items: Vec<&Vec<String>> = layout