summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/tanya/network/inet.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/tanya/network/inet.d b/source/tanya/network/inet.d
index 579bf7f..d69517c 100644
--- a/source/tanya/network/inet.d
+++ b/source/tanya/network/inet.d
@@ -298,14 +298,14 @@ version (PlattformUnittest)
* failure will be caused.
*
* Params:
- * R = Range type.
* T = Desired return type.
+ * R = Range type.
* range = Input range.
*
* Returns: Integral representation of $(D_PARAM range) with the host byte
* order.
*/
-T toHostOrder(R, T = size_t)(R range)
+T toHostOrder(T = size_t, R)(R range)
if (isInputRange!R
&& !isInfinite!R
&& is(Unqual!(ElementType!R) == ubyte)