Skip to content

Commit 766b478

Browse files
committed
Remove extern crate from README
1 parent f4ad131 commit 766b478

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ libcurl bindings for Rust
77
## Quick Start
88

99
```rust
10-
extern crate curl;
11-
1210
use std::io::{stdout, Write};
1311

1412
use curl::easy::Easy;
@@ -28,8 +26,6 @@ fn main() {
2826
```
2927

3028
```rust
31-
extern crate curl;
32-
3329
use curl::easy::Easy;
3430

3531
// Capture output into a local `Vec`.
@@ -54,8 +50,6 @@ request, and then `read_function` can be used to specify how data is filled in.
5450
This interface works particularly well with types that implement `Read`.
5551

5652
```rust,no_run
57-
extern crate curl;
58-
5953
use std::io::Read;
6054
use curl::easy::Easy;
6155
@@ -80,8 +74,6 @@ fn main() {
8074
Custom headers can be specified as part of the request:
8175

8276
```rust,no_run
83-
extern crate curl;
84-
8577
use curl::easy::{Easy, List};
8678
8779
fn main() {
@@ -101,8 +93,6 @@ The handle can be re-used across multiple requests. Curl will attempt to
10193
keep the connections alive.
10294

10395
```rust,no_run
104-
extern crate curl;
105-
10696
use curl::easy::Easy;
10797
10898
fn main() {

0 commit comments

Comments
 (0)