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:
@@ -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;
|
||||
|
@@ -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");
|
||||
///
|
||||
|
Reference in New Issue
Block a user