October 04, 2013 [phobos] [D-Programming-Language/phobos] 6bb4e4: Properly scoped and selected the import of std.tra... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: 6bb4e40a89e9308dc42c7a0ad55352885ef822e7 https://github.com/D-Programming-Language/phobos/commit/6bb4e40a89e9308dc42c7a0ad55352885ef822e7 Author: Orvid King <blah38621@gmail.com> Date: 2013-10-03 (Thu, 03 Oct 2013) Changed paths: M std/ascii.d Log Message: ----------- Properly scoped and selected the import of std.traits in std.ascii, so that it is only imported for the 2 functions that use it, toLower and toUpper. There are also a couple of style changes, namely the ordering of values in an anonymous enum, and the use of only 1 indent level within an array declaration. The final change is to mark toLower and toUpper explicitly as @safe pure nothrow, as these are checked in unittests, but a unittest wouldn't tell you what was causing one of the attributes to not be valid for them. Commit: 79be7977c9e8a5710d7907c2e880e6f44381a962 https://github.com/D-Programming-Language/phobos/commit/79be7977c9e8a5710d7907c2e880e6f44381a962 Author: monarch dodra <monarchdodra@gmail.com> Date: 2013-10-04 (Fri, 04 Oct 2013) Changed paths: M std/ascii.d Log Message: ----------- Merge pull request #1609 from Orvid/master Scoped the imports in std.ascii Compare: https://github.com/D-Programming-Language/phobos/compare/84156739db62...79be7977c9e8 |
Copyright © 1999-2021 by the D Language Foundation