Clean up outdated use_once_payload
pretty printer comment
While reading some parts of the pretty printer code, I noticed this old comment
which seemed out of place. The `use_once_payload` this outdated comment mentions
was removed in 2017 in 40f03a1e0d
, so this
completes the work by removing the comment.
This commit is contained in:
parent
3b0ef34f64
commit
bd0fba207b
@ -32,9 +32,6 @@ use crate::abort_on_err;
|
||||
// Note that since the `&PrinterSupport` is freshly constructed on each
|
||||
// call, it would not make sense to try to attach the lifetime of `self`
|
||||
// to the lifetime of the `&PrinterObject`.
|
||||
//
|
||||
// (The `use_once_payload` is working around the current lack of once
|
||||
// functions in the compiler.)
|
||||
|
||||
/// Constructs a `PrinterSupport` object and passes it to `f`.
|
||||
fn call_with_pp_support<'tcx, A, F>(
|
||||
|
Loading…
Reference in New Issue
Block a user