We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1db99b0 commit 50b36e8Copy full SHA for 50b36e8
lib/std/bounded_array.zig
@@ -275,7 +275,7 @@ test "BoundedArray" {
275
try testing.expectEqualSlices(u8, &x, a.constSlice());
276
277
var a2 = a;
278
- try testing.expectEqualSlices(u8, a.constSlice(), a.constSlice());
+ try testing.expectEqualSlices(u8, a.constSlice(), a2.constSlice());
279
a2.set(0, 0);
280
try testing.expect(a.get(0) != a2.get(0));
281
0 commit comments