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:
authorJonas Schievink <jonasschievink@gmail.com>2020-10-04 15:45:44 +0200
committerGitHub <noreply@github.com>2020-10-04 15:45:44 +0200
commit94bd3c981659d93ac6f954baaef3626a889f97b6 (patch)
treeef5cbfd5cb7340996c66b1f230d5f96f4a1f0167 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent5bd9ce5cd4f455a113d41bdf481606fc7545e618 (diff)
parent5f76b95e9b5560e1f6784ab3c003e7106ae74d19 (diff)
downloadrust-94bd3c981659d93ac6f954baaef3626a889f97b6.tar.gz
rust-94bd3c981659d93ac6f954baaef3626a889f97b6.zip
Rollup merge of #77513 - jyn514:refactor-doc-fragments, r=GuillaumeGomez
Change DocFragments from enum variant fields to structs with a nested enum

This makes the code a lot easier to work with. It also makes it easier
to add new fields without updating each variant and `match`
individually.

- Name the `Kind` variant after `DocFragmentKind` from `collapse_docs`
- Remove unneeded impls

Progress towards https://github.com/rust-lang/rust/issues/77254.
r? @GuillaumeGomez
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions