about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-09-22 20:25:14 +1000
committerGitHub <noreply@github.com>2025-09-22 20:25:14 +1000
commit681da13a02c4ef56b3fdf0fa491e16cfe00e378f (patch)
tree35831900ab2e20136ace17751c0daaf332dc2bf5 /compiler/rustc_codegen_llvm/src
parent46be365a602495076171adeb603a682079e6c2eb (diff)
parent20671600a2873139a61c39128a359225c8580d3c (diff)
downloadrust-681da13a02c4ef56b3fdf0fa491e16cfe00e378f.tar.gz
rust-681da13a02c4ef56b3fdf0fa491e16cfe00e378f.zip
Rollup merge of #146838 - yotamofek:pr/rustdoc/wrappers, r=lolbinarycat
Introduce "wrapper" helpers to rustdoc

Add a few traits for streamlining places where we need to wrap certain `fmt::Display`s in stuff like parentheses or brackets.
Hopefully this makes the actual display logic slightly easier to read.

First two commits are small, unrelated cleanups.

I'll probably add some doc comments to the stuff in `display.rs`, maybe also play around with the API, but wanted to get feedback on this idea first.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions