Fix return scope in cartesianProduct Result.save

This commit is contained in:
Dennis Korpel 2022-03-09 14:16:14 +01:00 committed by The Dlang Bot
parent 8dc3a852ef
commit 3d8b95791f

View file

@ -404,7 +404,7 @@ if (ranges.length >= 2 &&
r = ranges[i].save; // rollover
}
}
@property Result save() scope return
@property Result save() return scope
{
Result copy = this;
foreach (i, r; ranges)