[phobos] [D-Programming-Language/phobos] be3e9d: Remove comments from range traits claiming that th...

GitHub noreply at github.com
Sat Dec 8 20:51:22 PST 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: be3e9d1bb37e10e4357dd80b03f77b3d3559bce2
      https://github.com/D-Programming-Language/phobos/commit/be3e9d1bb37e10e4357dd80b03f77b3d3559bce2
  Author: jmdavis <jmdavisProg at gmx.com>
  Date:   2012-11-30 (Fri, 30 Nov 2012)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Remove comments from range traits claiming that they don't require ranges.

I don't know why these were added or how they got past the reviewers,
but it makes no sense for traits which check ranges for various
attributes to say that they don't require a range - especially when they
specifically check stuff like front! The only two where such a comment
makes sense (hasLength and ElementType) already had such comments,
making the comments added to them redundant, whereas the others were
just plain wrong. This commit removes all of those incorrect comments.


  Commit: 7701b17fa77bdfa5bec8702a7fc474b84f834591
      https://github.com/D-Programming-Language/phobos/commit/7701b17fa77bdfa5bec8702a7fc474b84f834591
  Author: Andrei Alexandrescu <andrei at erdani.com>
  Date:   2012-12-08 (Sat, 08 Dec 2012)

  Changed paths:
    M std/range.d

  Log Message:
  -----------
  Merge pull request #985 from jmdavis/range

Remove comments from range traits claiming that they don't require ranges


Compare: https://github.com/D-Programming-Language/phobos/compare/8953d521ce52...7701b17fa77b


More information about the phobos mailing list