Skip to content
Myr

fix: formatting in `src/command.rs`

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Hamir Mahal · committed by David Peter · parent ef12632 · Browse files · 1 file+1 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−4 removed

  • other:+1 added−4 removed

1 file+1 added−4 removed

modified:src/command.rs+1 added-4 removed
105 unmodified lines
106 fn replace_parameters_in(&self, original: &str) -> String {107 let mut result = String::new();108 let mut replacements = BTreeMap::<String, String>::new();109 for (param_name, param_value) in &self.parameters {110 replacements.insert(111 format!("{{{param_name}}}"),112 param_value.to_string(),113 );110 replacements.insert(format!("{{{param_name}}}"), param_value.to_string());111 }112 let mut remaining = original;113 // Manually replace consecutive occurrences to avoid double-replacing: e.g.,114 //
448 unmodified lines