aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/gecko_string_cache/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/gecko_string_cache/mod.rs')
-rw-r--r--components/style/gecko_string_cache/mod.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/components/style/gecko_string_cache/mod.rs b/components/style/gecko_string_cache/mod.rs
index f4c875cb7ad..d71d192166a 100644
--- a/components/style/gecko_string_cache/mod.rs
+++ b/components/style/gecko_string_cache/mod.rs
@@ -126,7 +126,11 @@ impl Borrow<WeakAtom> for Atom {
impl ToShmem for Atom {
fn to_shmem(&self, _builder: &mut SharedMemoryBuilder) -> ManuallyDrop<Self> {
- assert!(self.is_static(), "ToShmem failed for Atom: must be a static atom: {}", self);
+ assert!(
+ self.is_static(),
+ "ToShmem failed for Atom: must be a static atom: {}",
+ self
+ );
ManuallyDrop::new(Atom(self.0))
}