about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-09-08 02:12:24 +0000
committerbors <bors@rust-lang.org>2019-09-08 02:12:24 +0000
commit4a8ccdbeeb346e80417bd6b5c9cb7d62e225659d (patch)
treec27ad2da51d49a096e50adacd33c067e320f61df /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parentf7b05af814f02681d8973438df4ed5792f581841 (diff)
parent02c5c5cb597c873dd152f3ec8a6b74b5f28ccf36 (diff)
downloadrust-4a8ccdbeeb346e80417bd6b5c9cb7d62e225659d.tar.gz
rust-4a8ccdbeeb346e80417bd6b5c9cb7d62e225659d.zip
Auto merge of #64044 - Mark-Simulacrum:rustdoc-clean-2, r=GuillaumeGomez
Rustdoc: formatting to buffers

This should be reviewed commit-by-commit.

I've not attempted to fully flesh out what the end state of this PR could look like yet as I wanted to get it up for some early feedback (I already think this has some wins, too, so we could land it as-is).

The primary idea with `Buffer` is that it internally tracks whether we're printing to HTML or text, and the goal is that eventually instead of branch on `fmt.alternate()` anywhere, we'd call a helper like `buf.nbsp()` which would either return `&nbsp;` or ` ` depending on the target we're printing to. Obviously, that's not included in this PR, in part because it was already getting quite big.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions