Add semicolon

Co-Authored-By: Ralf Jung <post@ralfj.de>
This commit is contained in:
Aaron Hill 2019-08-04 10:13:29 -04:00 committed by GitHub
parent 0505868d18
commit c2f681f005
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,7 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
// any additional checks - it's okay if the pointer is invalid,
// since we wouldn't actually be writing to it.
if len == 0 {
return Ok(())
return Ok(());
}
let this = self.eval_context_mut();