Skip to content

Commit

Permalink
Merge pull request #4704 from mtrenkmann/patch-1
Browse files Browse the repository at this point in the history
Fixed wrong variable name in embedded doc
  • Loading branch information
schveiguy authored Aug 2, 2016
2 parents ef82829 + 31d8b47 commit 783e8dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/net/curl.d
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,9 @@ CALLBACK_PARAMS = $(TABLE ,
* // Guess connection type by looking at the URL
* content = get!AutoProtocol("ftp://foo.com/file");
* // and since AutoProtocol is default this is the same as
* connect = get("ftp://foo.com/file");
* content = get("ftp://foo.com/file");
* // and will end up detecting FTP from the url and be the same as
* connect = get!FTP("ftp://foo.com/file");
* content = get!FTP("ftp://foo.com/file");
* ---
*/
struct AutoProtocol { }
Expand Down

0 comments on commit 783e8dc

Please sign in to comment.