mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-15 10:07:30 +00:00
6 lines
133 B
Rust
6 lines
133 B
Rust
|
use std::net::TcpStream;
|
||
|
|
||
|
fn main() {
|
||
|
let stream = TcpStream::new(); //~ ERROR no function or associated item named `new` found
|
||
|
}
|