summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/httpcore.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/httpcore.nim b/lib/pure/httpcore.nim
index 98c03d177..219c22265 100644
--- a/lib/pure/httpcore.nim
+++ b/lib/pure/httpcore.nim
@@ -94,8 +94,8 @@ converter toString*(values: HttpHeaderValues): string =
   return seq[string](values)[0]
 
 proc `[]`*(headers: HttpHeaders, key: string, i: int): string =
-  ## Returns the ``i``th value associated with the given key. If there are
-  ## no values associated with the key or the ``i``th value doesn't exist,
+  ## Returns the ``i``'th value associated with the given key. If there are
+  ## no values associated with the key or the ``i``'th value doesn't exist,
   ## an exception is raised.
   return headers.table[key.toLower][i]