1
Fork 0

Remove a function argument that is always passed with the same value.

This commit is contained in:
Oli Scherer 2023-06-28 09:43:31 +00:00
parent a0eb348d38
commit 09b89efa70
3 changed files with 21 additions and 46 deletions

View file

@ -106,7 +106,7 @@ impl<Prov: Provenance> std::fmt::Display for ImmTy<'_, Prov> {
// Just print the ptr value. `pretty_print_const_scalar_ptr` would also try to
// print what is points to, which would fail since it has no access to the local
// memory.
cx.pretty_print_const_pointer(ptr, ty, true)
cx.pretty_print_const_pointer(ptr, ty)
}
}
}