display_fn needed? Is it a lifetimes issue?
Ah, it seems like maybe it makes a closure that takes a
Specifically, it seems to wrap a closure that takes a
Formatter such that it implements
display_fn takes a closure and allows you to print/format in that closure without allocating a temporary string. At least it allows you to do this, but I'm not sure of it's original intent.
Last updated: Oct 21 2021 at 20:21 UTC