Skip to content

Commit 99ebba1

Browse files
committed
lint
1 parent 3e004f7 commit 99ebba1

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/abstractions/claude.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ impl ClaudeClient for RealClaudeClient {
490490
}
491491

492492
async fn implement_spec(&self, spec_id: &str, verbose: bool) -> Result<bool> {
493-
println!("🔧 Running /mmm-implement-spec {}...", spec_id);
493+
println!("🔧 Running /mmm-implement-spec {spec_id}...");
494494

495495
let mut env_vars = HashMap::new();
496496
if std::env::var("MMM_AUTOMATION").unwrap_or_default() == "true" {

src/cook/execution/interpolation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ impl InterpolationContext {
318318
let full_key = if prefix.is_empty() {
319319
key.clone()
320320
} else {
321-
format!("{}.{}", prefix, key)
321+
format!("{prefix}.{key}")
322322
};
323323
self.variables.insert(full_key, value.clone());
324324
}

src/cook/interaction/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ pub mod tests {
288288
self.messages
289289
.lock()
290290
.unwrap()
291-
.push(format!("Iteration end: {current} {:?} {success}", duration));
291+
.push(format!("Iteration end: {current} {duration:?} {success}"));
292292
}
293293

294294
fn step_start(&self, step: u32, total: u32, description: &str) {
@@ -570,7 +570,7 @@ pub mod mocks {
570570
self.messages
571571
.lock()
572572
.unwrap()
573-
.push(format!("ITERATION_END: {current} {:?} {success}", duration));
573+
.push(format!("ITERATION_END: {current} {duration:?} {success}"));
574574
}
575575

576576
fn step_start(&self, step: u32, total: u32, description: &str) {

src/cook/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ reduce:
506506
assert_eq!(mr_config.mode, "mapreduce");
507507
}
508508
Err(e) => {
509-
panic!("Failed to load MapReduce workflow: {:#}", e);
509+
panic!("Failed to load MapReduce workflow: {e:#}");
510510
}
511511
}
512512
}
@@ -616,7 +616,7 @@ reduce:
616616
assert_eq!(mr_config.mode, "mapreduce");
617617
}
618618
Err(e) => {
619-
panic!("Failed to load debtmap MapReduce workflow: {:#}", e);
619+
panic!("Failed to load debtmap MapReduce workflow: {e:#}");
620620
}
621621
}
622622
}

0 commit comments

Comments
 (0)