Skip to content

Commit baff99c

Browse files
authored
Remove bug comments from Repeat variant
Removed comments related to a bug in Repeat variant.
1 parent a1dbb44 commit baff99c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

compiler/rustc_middle/src/mir/syntax.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1371,12 +1371,7 @@ pub enum Rvalue<'tcx> {
13711371

13721372
/// Creates an array where each element is the value of the operand.
13731373
///
1374-
/// This is the cause of a bug in the case where the repetition count is zero because the value
1375-
/// is not dropped, see [#74836].
1376-
///
13771374
/// Corresponds to source code like `[x; 32]`.
1378-
///
1379-
/// [#74836]: https://github.com/rust-lang/rust/issues/74836
13801375
Repeat(Operand<'tcx>, ty::Const<'tcx>),
13811376

13821377
/// Creates a reference of the indicated kind to the place.

0 commit comments

Comments
 (0)