Skip to content

Commit

Permalink
fix long line linter error (#9060)
Browse files Browse the repository at this point in the history
* fix long line linter error

* Update package.d
  • Loading branch information
thewilsonator authored Oct 21, 2024
1 parent 30a054b commit ab46287
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion std/range/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -6097,7 +6097,8 @@ private struct LockstepMixin(Ranges...)
size_t index = ranges[0].length - 1;
enforce(
this.stoppingPolicy == StoppingPolicy.requireSameLength,
"Indexed lockstep can only be used with foreach_reverse when stoppingPolicy == requireSameLength");
"Indexed lockstep can only be used with foreach_reverse when " ~
"stoppingPolicy == requireSameLength");

foreach (range; ranges[1 .. $])
enforce(range.length == ranges[0].length);
Expand Down

0 comments on commit ab46287

Please sign in to comment.