jcao219/phobos — comment on commit b801b26d41866b1738b9306852ede4fb889fcda5
File:  line 0
By andralex:

It looks like curl_easy_strerror() returns a string with static storage duration, so we can avoid one allocation like this:

auto msgZ = curl_easy_strerror(code);
return format("%s on handle %s", cast(string) msgZ[0 .. core.stdc.strlen(msgZ)], handle);

An explanatory comment would help, too. Thanks!