diff --git a/huff_utils/src/ast.rs b/huff_utils/src/ast.rs index ce7a518d..3b0c5255 100644 --- a/huff_utils/src/ast.rs +++ b/huff_utils/src/ast.rs @@ -33,8 +33,7 @@ impl AstSpan { pub fn error(&self, hint: Option<&String>) -> String { let file_to_source_map = self.0.iter().fold(BTreeMap::>::new(), |mut m, s| { - let file_name = - s.file.as_ref().map(|f2| f2.path.clone()).unwrap_or_default(); + let file_name = s.file.as_ref().map(|f2| f2.path.clone()).unwrap_or_default(); let mut new_vec: Vec<&Span> = m.get(&file_name).cloned().unwrap_or_default(); new_vec.push(s); m.insert(file_name, new_vec);