mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-27 02:37:42 +02:00
fix doctest ci (#188)
This commit is contained in:
@ -81,7 +81,7 @@ impl AuthExtractorConfig for Config {
|
||||
///
|
||||
/// fn main() {
|
||||
/// let app = App::new()
|
||||
/// .data(Config::default().realm("Restricted area"))
|
||||
/// .app_data(Config::default().realm("Restricted area"))
|
||||
/// .service(web::resource("/index.html").route(web::get().to(index)));
|
||||
/// }
|
||||
/// ```
|
||||
|
@ -84,7 +84,7 @@ impl AuthExtractorConfig for Config {
|
||||
///
|
||||
/// fn main() {
|
||||
/// let app = App::new()
|
||||
/// .data(
|
||||
/// .app_data(
|
||||
/// Config::default()
|
||||
/// .realm("Restricted area")
|
||||
/// .scope("email photo"),
|
||||
|
Reference in New Issue
Block a user