Skip to content
Snippets Groups Projects
Verified Commit 8b6a5bff authored by Lennard Gäher's avatar Lennard Gäher
Browse files

fix fmt

parent f5e500cb
No related branches found
No related tags found
1 merge request!61Refactor translation crate
Pipeline #113672 passed
......@@ -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
))
})
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment