Hello,
I found read_line, but I do not how to convert the following Python code
(skip first line and print all other lines from a file) to Rust.

f = open(file_name, 'r')
f.next()                        #skip line
for line in f:
    print line
f.close()

How rust handle exceptions?

Thank you in advance.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to