Don't format `tests/run-make/*/rmake.rs`. · model-checking/verify-rust-std@3548389

Original file line numberDiff line numberDiff line change

@@ -209,18 +209,14 @@ impl<Dyn: ?Sized> DynMetadata<Dyn> {

209209

// Consider a reference like `&(i32, dyn Send)`: the vtable will only store the size of the

210210

// `Send` part!

211211

// SAFETY: DynMetadata always contains a valid vtable pointer

212-

return unsafe {

213-

crate::intrinsics::vtable_size(self.vtable_ptr() as *const ())

214-

};

212+

return unsafe { crate::intrinsics::vtable_size(self.vtable_ptr() as *const ()) };

215213

}

216214
217215

/// Returns the alignment of the type associated with this vtable.

218216

#[inline]

219217

pub fn align_of(self) -> usize {

220218

// SAFETY: DynMetadata always contains a valid vtable pointer

221-

return unsafe {

222-

crate::intrinsics::vtable_align(self.vtable_ptr() as *const ())

223-

};

219+

return unsafe { crate::intrinsics::vtable_align(self.vtable_ptr() as *const ()) };

224220

}

225221
226222

/// Returns the size and alignment together as a `Layout`