Skip to content

Commit

Permalink
Fixed long lines in std/uuid.d
Browse files Browse the repository at this point in the history
  • Loading branch information
JackStouffer committed May 11, 2016
1 parent 510731d commit da25ed2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions std/uuid.d
Original file line number Diff line number Diff line change
Expand Up @@ -862,8 +862,9 @@ public struct UUID
* Write the UUID into `result` as an ASCII string in the canonical form.
*/
@safe pure nothrow @nogc void toString(Range)(Range result) const
if (isRandomAccessRange!Range && hasAssignableElements!Range && hasLength!Range && (isSomeChar!(typeof(Range.init[0])) || isUnsigned!(typeof(Range.init[0])))
|| isSomeString!Range && isMutable!(typeof(Range.init[0])))
if (isRandomAccessRange!Range && hasAssignableElements!Range &&
hasLength!Range && (isSomeChar!(typeof(Range.init[0])) || isUnsigned!(typeof(Range.init[0]))) ||
isSomeString!Range && isMutable!(typeof(Range.init[0])))
in {
assert(result.length >= 36, "Result's length for UUID.toString must be greater or equal 36.");
}
Expand Down

0 comments on commit da25ed2

Please sign in to comment.