Fixed multi-line function signatures
This commit is contained in:
parent
6ca0384755
commit
e07c1542ac
3 changed files with 8 additions and 4 deletions
|
@ -789,8 +789,12 @@ impl<'a, 'mir, 'tcx, M: Machine<'mir, 'tcx>> Memory<'a, 'mir, 'tcx, M> {
|
|||
}
|
||||
|
||||
/// Read a *non-ZST* scalar
|
||||
pub fn read_scalar(&self, ptr: Pointer, ptr_align: Align, size: Size)
|
||||
-> EvalResult<'tcx, ScalarMaybeUndef> {
|
||||
pub fn read_scalar(
|
||||
&self,
|
||||
ptr: Pointer,
|
||||
ptr_align: Align,
|
||||
size: Size
|
||||
) -> EvalResult<'tcx, ScalarMaybeUndef> {
|
||||
// Make sure we don't read part of a pointer as a pointer
|
||||
self.check_relocation_edges(ptr, size)?;
|
||||
let endianness = self.endianness();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue