Skip to content

Commit

Permalink
refactor: fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
olichwiruk committed Jan 10, 2025
1 parent 50c5dfb commit eff4c80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions semantics/oca-bundle/src/state/oca.rs
Original file line number Diff line number Diff line change
Expand Up @@ -716,9 +716,9 @@ impl From<OCABundle> for OCABox {
.iter()
.filter_map(|x| x.as_any().downcast_ref::<overlay::Conditional>())
.collect::<Vec<_>>();
for overlay in conditional_overlays {
let re = regex::Regex::new(r"\$\{(\d+)\}").unwrap();

let re = regex::Regex::new(r"\$\{(\d+)\}").unwrap();
for overlay in conditional_overlays {
for (attr_name, condition) in overlay.attribute_conditions.iter() {
let condition_dependencies = overlay.attribute_dependencies.get(attr_name).unwrap(); // todo
let cond = re
Expand Down

0 comments on commit eff4c80

Please sign in to comment.