about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-04 22:16:31 +0100
committerGitHub <noreply@github.com>2024-03-04 22:16:31 +0100
commit008ab3387b0057aa22cde00c544d05e31ab79807 (patch)
treef98b8abc82a7a5309c6366738dcd797e7c83ef3d /compiler/rustc_codegen_llvm/src
parente7bb22421959e2eda73361c26fe90f7fa5131bae (diff)
parentc45f0a977abc021ad3454930e2728d815def4938 (diff)
downloadrust-008ab3387b0057aa22cde00c544d05e31ab79807.tar.gz
rust-008ab3387b0057aa22cde00c544d05e31ab79807.zip
Rollup merge of #121732 - Voultapher:improve-assert_matches-documentation, r=cuviper
Improve assert_matches! documentation

This new documentation tries 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_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions