strutils.nim: Use func everywhere (#16281)
* strutils.nim: procs with {.noSideEffect.} -> func
* strutils.nim: procs without {.noSideEffect.} -> func
* strutils.nim: proc -> func for links
* strutils.nim: proc -> func in doc comments
* test: add strutils to strictFuncs test
* test: proc -> func in errmsg test
This commit is contained in:
parent
71e2a9e569
commit
84fea7c144
3 changed files with 299 additions and 330 deletions
|
|
@ -2,7 +2,7 @@ discard """
|
|||
cmd: "nim c --experimental:strictFuncs --experimental:views $file"
|
||||
"""
|
||||
|
||||
import tables, streams, nre, parsecsv, uri, httpcore
|
||||
import tables, streams, nre, parsecsv, uri, httpcore, strutils
|
||||
|
||||
type
|
||||
Contig2Reads = TableRef[string, seq[string]]
|
||||
|
|
@ -26,4 +26,4 @@ block:
|
|||
result[x.len] = move(y)
|
||||
|
||||
var x = @[0, 1]
|
||||
let z = x &&& 2
|
||||
let z = x &&& 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue