std.algorithm.iteration: Fix a -dip1000 compilable issue

This commit is contained in:
carblue 2018-03-30 05:01:23 +02:00
parent 1db9cbedd8
commit 83c02f21ea
2 changed files with 5 additions and 5 deletions

View file

@ -4236,7 +4236,7 @@ if (is(typeof(binaryFun!pred(r.front, s.front)) : bool)
@property empty() { return _impl.empty; }
@property auto front() { return _impl.front; }
void popFront() { _impl = _impl[1..$]; }
@property RefSep save() { return new RefSep(_impl); }
@property RefSep save() scope { return new RefSep(_impl); }
@property auto length() { return _impl.length; }
}
auto sep = new RefSep("->");