In How to read user input in Rust? you can see how to iterate over all lines: use std::io::{self, BufRead}; fn main() { let stdin ...
確定! 回上一頁