Document magic boolean

This commit is contained in:
Oli Scherer 2023-07-05 15:58:19 +00:00
parent 8ac1a67d11
commit e1e04a8bee

View File

@ -1396,7 +1396,9 @@ pub trait PrettyPrinter<'tcx>:
) -> Result<Self::Const, Self::Error> {
match scalar {
Scalar::Ptr(ptr, _size) => self.pretty_print_const_scalar_ptr(ptr, ty),
Scalar::Int(int) => self.pretty_print_const_scalar_int(int, ty, true),
Scalar::Int(int) => {
self.pretty_print_const_scalar_int(int, ty, /* print_ty */ true)
}
}
}