chore: clippy
This commit is contained in:
@ -679,7 +679,7 @@ impl Cmd for EditOrDrill {
|
||||
let is_synthetic = ctx
|
||||
.cell_key()
|
||||
.as_ref()
|
||||
.and_then(|k| crate::view::synthetic_record_info(k))
|
||||
.and_then(crate::view::synthetic_record_info)
|
||||
.is_some();
|
||||
let is_aggregated = !is_synthetic && regular_none;
|
||||
if is_aggregated {
|
||||
@ -707,7 +707,7 @@ impl Cmd for AddRecordRow {
|
||||
let is_records = ctx
|
||||
.cell_key()
|
||||
.as_ref()
|
||||
.and_then(|k| crate::view::synthetic_record_info(k))
|
||||
.and_then(crate::view::synthetic_record_info)
|
||||
.is_some();
|
||||
if !is_records {
|
||||
return vec![effect::set_status(
|
||||
@ -749,7 +749,7 @@ impl Cmd for OpenRecordRow {
|
||||
let is_records = ctx
|
||||
.cell_key()
|
||||
.as_ref()
|
||||
.and_then(|k| crate::view::synthetic_record_info(k))
|
||||
.and_then(crate::view::synthetic_record_info)
|
||||
.is_some();
|
||||
if !is_records {
|
||||
return vec![effect::set_status(
|
||||
|
||||
Reference in New Issue
Block a user