mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-30 19:23:57 +00:00
more strictdef fixes for stdlibs (#24535)
This commit is contained in:
@@ -111,3 +111,5 @@ func find*(s, sub: cstring, start: Natural = 0, last = 0): int =
|
||||
result = cast[int](found) -% cast[int](s)
|
||||
else:
|
||||
result = -1
|
||||
else:
|
||||
result = 0
|
||||
|
||||
Reference in New Issue
Block a user