mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-23 16:21:06 +01:00
do not use actix prelude
This commit is contained in:
parent
955e50313d
commit
94c8aa6a54
@ -34,7 +34,7 @@ extern crate actix;
|
||||
extern crate actix_web;
|
||||
extern crate futures;
|
||||
|
||||
use actix::prelude::*;
|
||||
use actix::*;
|
||||
use actix_web::*;
|
||||
|
||||
fn main() {
|
||||
|
@ -174,8 +174,9 @@ impl<S> ApplicationBuilder<S> where S: 'static {
|
||||
/// ```rust
|
||||
/// extern crate actix;
|
||||
/// extern crate actix_web;
|
||||
///
|
||||
/// use actix::*;
|
||||
/// use actix_web::*;
|
||||
/// use actix::prelude::*;
|
||||
///
|
||||
/// struct MyRoute;
|
||||
///
|
||||
|
@ -5,7 +5,7 @@ extern crate actix_web;
|
||||
extern crate tokio_core;
|
||||
extern crate env_logger;
|
||||
|
||||
use actix::prelude::*;
|
||||
use actix::*;
|
||||
use actix_web::*;
|
||||
|
||||
struct MyRoute {req: Option<HttpRequest>}
|
||||
|
Loading…
Reference in New Issue
Block a user