tidy fixes

This commit is contained in:
Saleem Jaffer 2019-04-24 21:25:56 +05:30
parent 199ff02dac
commit 35bd58b4e8

View file

@ -958,7 +958,9 @@ impl<'a, Ty> TyLayout<'a, Ty> {
where Ty: TyLayoutMethods<'a, C>, C: LayoutOf<Ty = Ty> {
Ty::field(self, cx, i)
}
pub fn pointee_info_at<C>(self, cx: &C, offset: Size, param_env: Ty::ParamEnv) -> Option<PointeeInfo>
pub fn pointee_info_at<C>(
self, cx: &C, offset: Size, param_env: Ty::ParamEnv
) -> Option<PointeeInfo>
where Ty: TyLayoutMethods<'a, C>, C: LayoutOf<Ty = Ty> {
Ty::pointee_info_at(self, cx, offset, param_env)
}