Document magic boolean
This commit is contained in:
parent
8ac1a67d11
commit
e1e04a8bee
1 changed files with 3 additions and 1 deletions
|
@ -1396,7 +1396,9 @@ pub trait PrettyPrinter<'tcx>:
|
||||||
) -> Result<Self::Const, Self::Error> {
|
) -> Result<Self::Const, Self::Error> {
|
||||||
match scalar {
|
match scalar {
|
||||||
Scalar::Ptr(ptr, _size) => self.pretty_print_const_scalar_ptr(ptr, ty),
|
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)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue