Skip to content

Commit

Permalink
README: Remove obsolete extern crate http instructions
Browse files Browse the repository at this point in the history
This crate declares `edition = 2018`, in which these `extern crate` instructions are no longer necessary, so it should be safe to remove them from the README file.
  • Loading branch information
Turbo87 authored and seanmonstar committed Nov 11, 2021
1 parent ead020c commit 52b4d04
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ http = "0.2"
Next, add this to your crate:

```rust
extern crate http;

use http::{Request, Response};

fn main() {
Expand All @@ -37,8 +35,6 @@ fn main() {
Create an HTTP request:

```rust
extern crate http;

use http::Request;

fn main() {
Expand All @@ -53,8 +49,6 @@ fn main() {
Create an HTTP response:

```rust
extern crate http;

use http::{Response, StatusCode};

fn main() {
Expand Down

0 comments on commit 52b4d04

Please sign in to comment.