mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Reformat recent changes.
This commit is contained in:
parent
7c4f9bbf49
commit
8c004c0858
40 changed files with 571 additions and 212 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue