diff options
| author | hattizai <hattizai@gmail.com> | 2024-07-02 11:25:31 +0800 |
|---|---|---|
| committer | hattizai <hattizai@gmail.com> | 2024-07-02 11:25:31 +0800 |
| commit | ada9fda7c38b1be39b4e8273ee6af150985df064 (patch) | |
| tree | 33b961ea91ffae5597fb7380990546a9d3b196ed /compiler/rustc_const_eval/src | |
| parent | c3774be7411722d3695de2ab1da9a358d0d5c82c (diff) | |
| download | rust-ada9fda7c38b1be39b4e8273ee6af150985df064.tar.gz rust-ada9fda7c38b1be39b4e8273ee6af150985df064.zip | |
chore: remove duplicate words
Diffstat (limited to 'compiler/rustc_const_eval/src')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/discriminant.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/discriminant.rs b/compiler/rustc_const_eval/src/interpret/discriminant.rs index b3a139d553a..181c7115386 100644 --- a/compiler/rustc_const_eval/src/interpret/discriminant.rs +++ b/compiler/rustc_const_eval/src/interpret/discriminant.rs @@ -245,7 +245,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> { // The tag of a `Single` enum is like the tag of the niched // variant: there's no tag as the discriminant is encoded // entirely implicitly. If `write_discriminant` ever hits this - // case, we do a "validation read" to ensure the the right + // case, we do a "validation read" to ensure the right // discriminant is encoded implicitly, so any attempt to write // the wrong discriminant for a `Single` enum will reliably // result in UB. |
