summaryrefslogtreecommitdiffstats
path: root/src/bootstrap/cache.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bootstrap/cache.rs')
-rw-r--r--src/bootstrap/cache.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/cache.rs b/src/bootstrap/cache.rs
index 5376c4ec9..53e4ff034 100644
--- a/src/bootstrap/cache.rs
+++ b/src/bootstrap/cache.rs
@@ -75,7 +75,7 @@ where
{
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let s: &U = &*self;
- f.write_fmt(format_args!("{:?}", s))
+ f.write_fmt(format_args!("{s:?}"))
}
}
@@ -236,7 +236,7 @@ impl Cache {
.or_insert_with(|| Box::new(HashMap::<S, S::Output>::new()))
.downcast_mut::<HashMap<S, S::Output>>()
.expect("invalid type mapped");
- assert!(!stepcache.contains_key(&step), "processing {:?} a second time", step);
+ assert!(!stepcache.contains_key(&step), "processing {step:?} a second time");
stepcache.insert(step, value);
}