Skip to content

Commit

Permalink
add semicolons as per cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
incertia committed Apr 4, 2024
1 parent 6a1a85d commit a859c8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions program_analysis/src/analysis_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ impl AnalysisRunner {
// Get the AST corresponding to the template.
let Some(ast) = self.template_asts.get(name) else {
trace!("failed to lift unknown template `{name}`");
return Err(AnalysisError::UnknownTemplate { name: name.to_string() })
return Err(AnalysisError::UnknownTemplate { name: name.to_string() });
};
// Generate the template CFG from the AST. Cache any reports.
let mut reports = ReportCollection::new();
Expand All @@ -243,7 +243,7 @@ impl AnalysisRunner {
// Get the AST corresponding to the function.
let Some(ast) = self.function_asts.get(name) else {
trace!("failed to lift unknown function `{name}`");
return Err(AnalysisError::UnknownFunction { name: name.to_string() })
return Err(AnalysisError::UnknownFunction { name: name.to_string() });
};
// Generate the function CFG from the AST. Cache any reports.
let mut reports = ReportCollection::new();
Expand Down

0 comments on commit a859c8f

Please sign in to comment.