Add trailing comma

This commit is contained in:
Aaron Hill 2019-08-04 15:59:20 -04:00
parent 6b087d2536
commit 8650f02bc9
No known key found for this signature in database
GPG key ID: B4087E510E98B164

View file

@ -972,7 +972,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
fn linux_getrandom<'tcx>(
this: &mut MiriEvalContext<'_, 'tcx>,
args: &[OpTy<'tcx, Tag>],
dest: PlaceTy<'tcx, Tag>
dest: PlaceTy<'tcx, Tag>,
) -> InterpResult<'tcx> {
let ptr = this.read_scalar(args[0])?.not_undef()?;
let len = this.read_scalar(args[1])?.to_usize(this)?;