lines2022/2/23 23:56:00 文字列を行ごとに繰り返すメソッド let s = String::from("\ Rust: safe, fast, productive. Pick three."); for line in s.lines() { println!("{}", line); }