diff options
Diffstat (limited to 'src/bindings/constcharp.nim')
-rw-r--r-- | src/bindings/constcharp.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings/constcharp.nim b/src/bindings/constcharp.nim index 057b8acb..f1753147 100644 --- a/src/bindings/constcharp.nim +++ b/src/bindings/constcharp.nim @@ -2,5 +2,5 @@ type cstringConstImpl {.importc: "const char*".} = cstring cstringConst* = distinct cstringConstImpl -proc `[]`*(s: cstringConst, i: int): char = cstring(s)[i] +proc `[]`*(s: cstringConst; i: int): char = cstring(s)[i] proc `$`*(s: cstringConst): string {.borrow.} |