1
0
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:
Rob Ede
2021-06-27 07:02:38 +01:00
committed by GitHub
parent 64eec6e550
commit 20ef05c36e
23 changed files with 255 additions and 206 deletions

View File

@ -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)));
/// }
/// ```

View File

@ -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"),