Small code reduction in std.ascii.

We can have the comment only once, and it will still show up in the
docs.
This commit is contained in:
jmdavis 2014-05-22 16:06:43 -07:00
parent 15234c3103
commit c8b472c526

View file

@ -53,16 +53,11 @@ enum LetterCase : bool
lower /// Lower case letters
}
/// Newline sequence for this system.
version(Windows)
{
/// Newline sequence for this system.
immutable newline = "\r\n";
}
else version(Posix)
{
/// Newline sequence for this system.
immutable newline = "\n";
}
else
static assert(0, "Unsupported OS");