From 15049771545fb6cebec0753fe72d761ede2d0e57 Mon Sep 17 00:00:00 2001
From: Chris de Claverie <c.de-claverie@protonmail.com>
Date: Sun, 24 Jul 2022 10:21:19 +0200
Subject: [PATCH] Remove outdated warning

---
 src/expressions/array-expr.md | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/expressions/array-expr.md b/src/expressions/array-expr.md
index 432a45ad8..fd7e2d378 100644
--- a/src/expressions/array-expr.md
+++ b/src/expressions/array-expr.md
@@ -29,13 +29,6 @@ When the repeat operand is a constant item, it is evaluated the length operand's
 If that value is `0`, then the constant item is not evaluated at all.
 For expressions that are not a constant item, it is evaluated exactly once, and then the result is copied the length operand's value times.
 
-<div class="warning">
-
-Warning: In the case where the length operand is 0, and the repeat operand is a non-constant item, there is currently a bug in `rustc` where the value `a` is evaluated but not dropped, thus causing a leak.
-See [issue #74836](https://github.com/rust-lang/rust/issues/74836).
-
-</div>
-
 ```rust
 [1, 2, 3, 4];
 ["a", "b", "c", "d"];