fixes SSL version check logic [backport] (#21324)
* fixed version check logic [backport] * add ciphersuites * debug nimble * fixes returns omission * finally * remove debug message * add ciphersuites --------- Co-authored-by: Araq <rumpf_a@web.de>
This commit is contained in:
parent
43b1b9d077
commit
17115cbc73
4 changed files with 8 additions and 8 deletions
|
|
@ -887,7 +887,7 @@ proc reversed*(s: openArray[char]): string =
|
|||
|
||||
proc graphemeLen*(s: openArray[char]; i: Natural): Natural =
|
||||
## The number of bytes belonging to byte index ``s[i]``,
|
||||
## including following combining code unit.
|
||||
## including following combining code units.
|
||||
runnableExamples:
|
||||
let a = "añyóng"
|
||||
doAssert a.graphemeLen(1) == 2 ## ñ
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue