[phobos] [D-Programming-Language/phobos] 296de5: `cast(string)` is neither necessary nor safe=0D

GitHub noreply at github.com
Mon Feb 20 08:49:22 PST 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 296de5833404971dd0a6c4737432d3f196705512
      https://github.com/D-Programming-Language/phobos/commit/296de5833404971dd0a6c4737432d3f196705512
  Author: Denis Shelomovskij <verylonglogin.reg at gmail.com>
  Date:   2012-02-20 (Mon, 20 Feb 2012)

  Changed paths:
    M std/net/curl.d

  Log Message:
  -----------
  `cast(string)` is neither necessary nor safe
*`curl_easy_strerror` isn't documented as returning immutable string


  Commit: 558a7ad8a76586d4352cfa0c6a1c0adf822fdc4a
      https://github.com/D-Programming-Language/phobos/commit/558a7ad8a76586d4352cfa0c6a1c0adf822fdc4a
  Author: Andrei Alexandrescu <andrei at erdani.com>
  Date:   2012-02-20 (Mon, 20 Feb 2012)

  Changed paths:
    M std/net/curl.d

  Log Message:
  -----------
  Merge pull request #445 from denis-sh/patch-1

Remove unsafe and unnecessary casting


Compare: https://github.com/D-Programming-Language/phobos/compare/37631fc...558a7ad


More information about the phobos mailing list