mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +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
|
||
|
}
|