From f8e3430d1a2139771aac9afa8a83402b4c82c4ec Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Sun, 29 Dec 2019 00:38:07 +0900 Subject: [PATCH] Point to v2 docs --- content/docs/errors.md | 8 ++++---- content/docs/extractors.md | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/content/docs/errors.md b/content/docs/errors.md index 6dd697a..d5e0f15 100644 --- a/content/docs/errors.md +++ b/content/docs/errors.md @@ -134,9 +134,9 @@ This is a basic example using `middleware::Logger`: {{< include-example example="errors" file="logging.rs" section="logging" >}} -[actixerror]: https://docs.rs/actix-web/1.0.2/actix_web/error/struct.Error.html -[errorhelpers]: https://docs.rs/actix-web/1.0.2/actix_web/trait.ResponseError.html +[actixerror]: https://docs.rs/actix-web/2/actix_web/error/struct.Error.html +[errorhelpers]: https://docs.rs/actix-web/2/actix_web/trait.ResponseError.html [failure]: https://github.com/rust-lang-nursery/failure -[responseerror]: https://docs.rs/actix-web/1.0.2/actix_web/error/trait.ResponseError.html -[responseerrorimpls]: https://docs.rs/actix-web/1.0.2/actix_web/error/trait.ResponseError.html#foreign-impls +[responseerror]: https://docs.rs/actix-web/2/actix_web/error/trait.ResponseError.html +[responseerrorimpls]: https://docs.rs/actix-web/2/actix_web/error/trait.ResponseError.html#foreign-impls [stderror]: https://doc.rust-lang.org/std/error/trait.Error.html diff --git a/content/docs/extractors.md b/content/docs/extractors.md index e77adfd..0bd1301 100644 --- a/content/docs/extractors.md +++ b/content/docs/extractors.md @@ -127,13 +127,13 @@ number of requests processed per thread. A proper implementation would use `Arc` > request handling processes would block. If you need to share or update some state > from multiple threads, consider using the [actix][actix] actor system. -[pathstruct]: (https://docs.rs/actix-web/1.0.2/actix_web/dev/struct.Path.html -[querystruct]: https://docs.rs/actix-web/1.0.2/actix_web/web/struct.Query.html -[jsonstruct]: https://docs.rs/actix-web/1.0.2/actix_web/web/struct.Json.html -[jsonconfig]: https://docs.rs/actix-web/1.0.2/actix_web/web/struct.JsonConfig.html -[formconfig]: https://docs.rs/actix-web/1.0.2/actix_web/web/struct.FormConfig.html -[datastruct]: https://docs.rs/actix-web/1.0.2/actix_web/web/struct.Data.html -[stringexample]: https://docs.rs/actix-web/1.0.2/actix_web/trait.FromRequest.html#example-2 -[bytesexample]: https://docs.rs/actix-web/1.0.2/actix_web/trait.FromRequest.html#example-4 -[payloadexample]: https://docs.rs/actix-web/1.0.2/actix_web/web/struct.Payload.html +[pathstruct]: https://docs.rs/actix-web/2/actix_web/dev/struct.Path.html +[querystruct]: https://docs.rs/actix-web/2/actix_web/web/struct.Query.html +[jsonstruct]: https://docs.rs/actix-web/2/actix_web/web/struct.Json.html +[jsonconfig]: https://docs.rs/actix-web/2/actix_web/web/struct.JsonConfig.html +[formconfig]: https://docs.rs/actix-web/2/actix_web/web/struct.FormConfig.html +[datastruct]: https://docs.rs/actix-web/2/actix_web/web/struct.Data.html +[stringexample]: https://docs.rs/actix-web/2/actix_web/trait.FromRequest.html#example-2 +[bytesexample]: https://docs.rs/actix-web/2/actix_web/trait.FromRequest.html#example-4 +[payloadexample]: https://docs.rs/actix-web/2/actix_web/web/struct.Payload.html [actix]: https://actix.github.io/actix/actix/