mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-13 06:43:52 +00:00
Fix accidentally deleted inp argument.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import memfiles
|
||||
var inp = memfiles.open("readme.txt")
|
||||
var buffer: TaintedString = ""
|
||||
for line in lines(, buffer):
|
||||
for line in lines(inp, buffer):
|
||||
echo("#" & line & "#")
|
||||
close(inp)
|
||||
|
||||
Reference in New Issue
Block a user