more use of format! variable capture

Co-authored-by: Joe ST <joe@fbstj.net>
This commit is contained in:
Ralf Jung 2022-07-02 13:37:24 -04:00 committed by GitHub
parent d31cbb5150
commit 0832d1d022
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 5 deletions

View file

@ -466,7 +466,7 @@ impl<'tcx> TyCtxt<'tcx> {
return alloc_id;
}
let id = alloc_map.reserve();
debug!("creating alloc {:?} with id {:?}", alloc, id);
debug!("creating alloc {alloc:?} with id {id:?}");
alloc_map.alloc_map.insert(id, alloc.clone());
alloc_map.dedup.insert(alloc, id);
id