Skip to content

Commit

Permalink
Remove redundant check using binop
Browse files Browse the repository at this point in the history
  • Loading branch information
David Marquant committed Jun 11, 2017
1 parent 7c21752 commit 879f0b9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions std/container/array.d
Original file line number Diff line number Diff line change
Expand Up @@ -2407,9 +2407,6 @@ if (is(Unqual!T == bool))
Array!V3 arr;
arr ~= v;
assert(arr[0] == [1, 2, 3]);

arr = arr ~ v;
assert(arr[1] == [1, 2, 3]);
}
@system unittest
{
Expand Down

0 comments on commit 879f0b9

Please sign in to comment.