style: fix clippy collapsible_if warnings in nvim-core
This commit is contained in:
1 parent
148025c5a7
commit
b2f15de58c
8 files changed
+105
-89
No files matched your search
@@ -244,8 +244,7 @@ impl McpTool for GenerateStandupReportHandler {
|
||||
async fn execute(&self, args: Value, state: Arc<MemoryState>) -> Result<String, String> {
|
||||
let req: GenerateStandupReportTool =
|
||||
serde_json::from_value(args).map_err(|e| e.to_string())?;
|
||||
let cutoff =
|
||||
crate::handlers::utils::now_secs().saturating_sub(req.hours_lookback * 3600);
|
||||
let cutoff = crate::handlers::utils::now_secs().saturating_sub(req.hours_lookback * 3600);
|
||||
|
||||
let report_str = state.tasks.read_with(|items| {
|
||||
state.ledger.read_with(|changes| {
|
||||
|
||||
Reference in new issue
Block a user