diff options
| author | Lukas Bergdoll <lukas.bergdoll@gmail.com> | 2024-02-28 11:51:27 +0100 |
|---|---|---|
| committer | Lukas Bergdoll <lukas.bergdoll@gmail.com> | 2024-02-28 11:51:27 +0100 |
| commit | e4781115f2a5e50d60673d5c64d49182fc190247 (patch) | |
| tree | 2b9b08abb3b283a1bb3bdefc2d819b3dd3128378 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | ef324565d071c6d7e2477a195648549e33d6a465 (diff) | |
| download | rust-e4781115f2a5e50d60673d5c64d49182fc190247.tar.gz rust-e4781115f2a5e50d60673d5c64d49182fc190247.zip | |
Improve assert_matches! documentation
This new documentation tries to avoid to limit the impact of the conceptual pitfall, that the if guard relaxes the constraint, when really it tightens it. This is achieved by changing the text and examples. The previous documentation also chose a rather weird and non-representative example for the if guard, that made it needlessly complicated to understand.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
