From a859c8f708d9f40f5c667545b20ee783a5277f3a Mon Sep 17 00:00:00 2001 From: Will Song Date: Thu, 4 Apr 2024 12:52:54 -0400 Subject: [PATCH] add semicolons as per cargo fmt --- program_analysis/src/analysis_runner.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program_analysis/src/analysis_runner.rs b/program_analysis/src/analysis_runner.rs index 3aa128a..c57c157 100644 --- a/program_analysis/src/analysis_runner.rs +++ b/program_analysis/src/analysis_runner.rs @@ -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(); @@ -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();