From 8828bf2b7d3c2be6d311413107dcef4bc522c28b Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Thu, 11 Nov 2021 23:13:15 +0100 Subject: [PATCH] README: Remove obsolete `extern crate http` instructions 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. --- README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.md b/README.md index 9a9f1542..dc48576f 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,6 @@ http = "0.2" Next, add this to your crate: ```rust -extern crate http; - use http::{Request, Response}; fn main() { @@ -37,8 +35,6 @@ fn main() { Create an HTTP request: ```rust -extern crate http; - use http::Request; fn main() { @@ -53,8 +49,6 @@ fn main() { Create an HTTP response: ```rust -extern crate http; - use http::{Response, StatusCode}; fn main() {