about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stdio.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-13 17:35:32 +0200
committerGitHub <noreply@github.com>2022-04-13 17:35:32 +0200
commitdb61452b7a2ec92d90f4faebfa679c54ad3e1ab0 (patch)
tree2b1f856f0aaba53b6c53b69669f807d523c8eb66 /library/std/src/sys/unix/stdio.rs
parentf38c5c8e5d76ea9a87fece143425ef7c703c706a (diff)
parent6a18b6865590704d42777fa7432436e55773d46b (diff)
downloadrust-db61452b7a2ec92d90f4faebfa679c54ad3e1ab0.tar.gz
rust-db61452b7a2ec92d90f4faebfa679c54ad3e1ab0.zip
Rollup merge of #93217 - willcrichton:example-analyzer, r=GuillaumeGomez
Improve Rustdoc UI for scraped examples with multiline arguments, fix overflow in line numbers

This PR improves a few aspects of the scrape examples feature in Rustdoc.
* Only function names and not the full call expression are highlighted.
* For call-sites with multiline arguments, the minimized code viewer will scroll to the top of the call-site rather than the middle if the argument is larger than the viewer size, ensuring that the function name is visible.
* This fixes an issue where the line numbers column had a visible x-scroll bar.

r? `@GuillaumeGomez`
Diffstat (limited to 'library/std/src/sys/unix/stdio.rs')
0 files changed, 0 insertions, 0 deletions