Skip to content

Commit

Permalink
Let safety of cartesianProduct.Result.popFront be inferred
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Colvin committed Jun 17, 2020
1 parent a6caa89 commit a6da2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/algorithm/setops.d
Expand Up @@ -391,7 +391,7 @@ if (ranges.length >= 2 &&
return mixin(algoFormat("tuple(%(current[%d].front%|,%))",
iota(0, current.length)));
}
void popFront() scope @safe
void popFront() scope
{
foreach_reverse (i, ref r; current)
{
Expand Down

0 comments on commit a6da2af

Please sign in to comment.