diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-04-11 22:12:41 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-04-12 12:20:14 +0200 |
commit | 8c004c08580287172585169807ed36933ad674f8 (patch) | |
tree | 36b6b6288ee034ec688e2678f29f6c2445ebc548 /components/style/gecko_string_cache/mod.rs | |
parent | 7c4f9bbf494387c2046d614f5d8769b7ce7eed67 (diff) | |
download | servo-8c004c08580287172585169807ed36933ad674f8.tar.gz servo-8c004c08580287172585169807ed36933ad674f8.zip |
style: Reformat recent changes.
Diffstat (limited to 'components/style/gecko_string_cache/mod.rs')
-rw-r--r-- | components/style/gecko_string_cache/mod.rs | 6 |
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)) } |