fix deprecations and other warnings (#13748)
This commit is contained in:
parent
182d3c16e3
commit
5b55aa52d0
22 changed files with 63 additions and 66 deletions
|
|
@ -9,7 +9,7 @@ proc foo*(b: any) =
|
|||
|
||||
import sets
|
||||
|
||||
var intset = initSet[int]()
|
||||
var intset = initHashSet[int]()
|
||||
|
||||
proc fn*[T](a: T) =
|
||||
if a in intset: echo("true")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue