diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-01-17 06:08:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-17 06:08:17 +0100 |
| commit | 775fe37ca9354371eb69c1dc7ee65d941dcafe15 (patch) | |
| tree | 67f247772e66a185bbe5b9198a87acb509fb87f3 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 0aae1ec9ff61cf5050cef0930be339f4ac9abd8b (diff) | |
| parent | bfe0a4e06e7714c2e0e3b42e1b4ec3b6e5ca121d (diff) | |
| download | rust-775fe37ca9354371eb69c1dc7ee65d941dcafe15.tar.gz rust-775fe37ca9354371eb69c1dc7ee65d941dcafe15.zip | |
Rollup merge of #92953 - azdavis:azdavis-copy-example, r=dtolnay
Copy an example to PartialOrd as well In https://github.com/rust-lang/rust/pull/88202 I added an example for deriving PartialOrd on enums, but only later did I realize that I actually put the example on Ord. This copies the example to PartialOrd as well, which is where I intended for it to be. We could also delete the example on Ord, but I see there's already some highly similar examples shared between Ord and PartialOrd, so I figured we could leave it. I also changed some type annotations in an example from `x : T` to the more common style (in Rust) of `x: T`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
