We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Rust 1.9.0 panics on the following (wrong) code:
use std::io::BufRead; fn main() { let x = b"blabla blibli"; let s = &x[..]; let mut v = Vec::new(); s.read_line(&mut v) }
(but works fine with String::new() instead of Vec::new()).
String::new()
Vec::new()