mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-20 10:55:14 +00:00
Document magic boolean
This commit is contained in:
parent
8ac1a67d11
commit
e1e04a8bee
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user