Skip to content

Commit

Permalink
Fix comment to reflect error handling behaviour.
Browse files Browse the repository at this point in the history
  • Loading branch information
jumbatm committed May 1, 2020
1 parent 9c898d6 commit 9459b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/interpret/validity.rs
Expand Up @@ -802,7 +802,7 @@ impl<'rt, 'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> ValueVisitor<'mir, 'tcx, M>

throw_validation_failure!("uninitialized bytes", self.path)
}
// Other errors shouldn't be possible
// Propagate upwards (that will also check for unexpected errors).
_ => return Err(err),
}
}
Expand Down

0 comments on commit 9459b37

Please sign in to comment.