diff --git a/rr_frontend/translation/src/consts.rs b/rr_frontend/translation/src/consts.rs
index 5ad5056ade7fbe6faa6ebe7e63b10b7301fead64..42727d726f48ae7e5fce57aa9405cbe43cba0aba 100644
--- a/rr_frontend/translation/src/consts.rs
+++ b/rr_frontend/translation/src/consts.rs
@@ -39,9 +39,11 @@ impl<'def> Scope<'def> {
     }
 
     pub fn get_static<'tcx>(&self, did: DefId) -> Result<&radium::StaticMeta<'def>, TranslationError<'tcx>> {
-        self.statics.get(&did).ok_or_else(|| TranslationError::UnknownError(format!(
-            "Did not find a registered static for did {did:?}; registered: {:?}",
-            self.statics
-        )))
+        self.statics.get(&did).ok_or_else(|| {
+            TranslationError::UnknownError(format!(
+                "Did not find a registered static for did {did:?}; registered: {:?}",
+                self.statics
+            ))
+        })
     }
 }