From 66b9574b165be62e76c7397cf0eaa8d229d42675 Mon Sep 17 00:00:00 2001 From: bptato Date: Tue, 16 Apr 2024 15:08:44 +0200 Subject: Update code style * separate params with ; (semicolon) instead of , (colon) * reduce screaming snake case use * wrap long lines --- src/bindings/constcharp.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bindings/constcharp.nim') 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.} -- cgit 1.4.1-2-gfad0