mirror of
https://github.com/dlang/phobos.git
synced 2025-05-07 19:49:36 +03:00
Merge pull request #5760 from icyfork/std_net_curl_fix_example
std.net.curl: Fix getTiming example merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
This commit is contained in:
commit
472e5b6421
1 changed files with 2 additions and 2 deletions
|
@ -2945,7 +2945,7 @@ struct HTTP
|
|||
* double val;
|
||||
* CurlCode code;
|
||||
*
|
||||
* code = http.getTiming(CurlInfo.namelookup_time, val);
|
||||
* code = client.getTiming(CurlInfo.namelookup_time, val);
|
||||
* assert(code == CurlError.ok);
|
||||
* ---
|
||||
*/
|
||||
|
@ -3660,7 +3660,7 @@ struct FTP
|
|||
* double val;
|
||||
* CurlCode code;
|
||||
*
|
||||
* code = http.getTiming(CurlInfo.namelookup_time, val);
|
||||
* code = client.getTiming(CurlInfo.namelookup_time, val);
|
||||
* assert(code == CurlError.ok);
|
||||
* ---
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue