Make line fit within 100 character limit.

This commit is contained in:
Daan de Graaf 2019-01-11 11:26:47 +01:00 committed by Saleem Jaffer
parent d47ec57a4f
commit 7257fc34de

View File

@ -1931,8 +1931,9 @@ impl<'a, 'tcx, C> TyLayoutMethods<'tcx, C> for Ty<'tcx>
result = field.ok()
.and_then(|field| {
if ptr_end <= field_start + field.size {
let off = offset - field_start;
// We found the right field, look inside it.
Self::pointee_info_at(field, cx, offset - field_start, param_env)
Self::pointee_info_at(field, cx, off, param_env)
} else {
None
}