1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-08-20 15:25:38 +02:00

update all packages to use actix-web v3 (#94)

This commit is contained in:
Rob Ede
2020-09-11 16:26:15 +01:00
committed by GitHub
parent 7e6bdf2eb2
commit bad5f32a68
22 changed files with 73 additions and 70 deletions

View File

@@ -15,11 +15,7 @@
//! [extractors]: https://actix.rs/docs/extractors/
//! [middleware]: ./middleware/
#![deny(bare_trait_objects)]
#![deny(missing_docs)]
#![deny(nonstandard_style)]
#![deny(rust_2018_idioms)]
#![deny(unused)]
#![deny(bare_trait_objects, missing_docs, nonstandard_style, rust_2018_idioms)]
#![deny(clippy::all)]
pub mod extractors;

View File

@@ -107,7 +107,7 @@ where
/// Ok(req)
/// } else {
/// let config = req.app_data::<Config>()
/// .map(|data| data.get_ref().clone())
/// .map(|data| data.clone())
/// .unwrap_or_else(Default::default)
/// .scope("urn:example:channel=HBO&urn:example:rating=G,PG-13");
///