rustdoc: Move display_fn
struct inside display_fn
#81497
Merged
display_fn
struct inside display_fn
#81497