macros and broken links

This commit is contained in:
realaravinth 2020-12-13 16:56:39 +05:30
parent 70f71e5ea2
commit 67852d7048
No known key found for this signature in database
GPG Key ID: AD9F0F08E855ED88
4 changed files with 14 additions and 14 deletions

View File

@ -8,7 +8,7 @@
//! are re-exported. //! are re-exported.
//! //!
//! # Runtime Setup //! # Runtime Setup
//! Used for setting up the actix async runtime. See [main] macro docs. //! Used for setting up the actix async runtime. See [macro@main] macro docs.
//! //!
//! ```rust //! ```rust
//! #[actix_web_codegen::main] // or `#[actix_web::main]` in Actix Web apps //! #[actix_web_codegen::main] // or `#[actix_web::main]` in Actix Web apps
@ -34,7 +34,7 @@
//! //!
//! # Multiple Method Handlers //! # Multiple Method Handlers
//! Similar to the single method handler macro but takes one or more arguments for the HTTP methods //! Similar to the single method handler macro but takes one or more arguments for the HTTP methods
//! it should respond to. See [route] macro docs. //! it should respond to. See [macro@route] macro docs.
//! //!
//! ```rust //! ```rust
//! # use actix_web::HttpResponse; //! # use actix_web::HttpResponse;
@ -46,15 +46,15 @@
//! ``` //! ```
//! //!
//! [actix-web attributes docs]: https://docs.rs/actix-web/*/actix_web/#attributes //! [actix-web attributes docs]: https://docs.rs/actix-web/*/actix_web/#attributes
//! [GET]: get //! [GET]: macro@get
//! [POST]: post //! [POST]: macro@post
//! [PUT]: put //! [PUT]: macro@put
//! [DELETE]: delete //! [HEAD]: macro@head
//! [HEAD]: head //! [CONNECT]: macro@macro@connect
//! [CONNECT]: connect //! [OPTIONS]: macro@options
//! [OPTIONS]: options //! [TRACE]: macro@trace
//! [TRACE]: trace //! [PATCH]: macro@patch
//! [PATCH]: patch //! [DELETE]: macro@delete
#![recursion_limit = "512"] #![recursion_limit = "512"]

View File

@ -141,7 +141,7 @@ impl AppConfig {
/// Server host name. /// Server host name.
/// ///
/// Host name is used by application router as a hostname for url generation. /// Host name is used by application router as a hostname for url generation.
/// Check [ConnectionInfo](ConnectionInfo::host()) /// Check [ConnectionInfo](super::dev::ConnectionInfo::host())
/// documentation for more information. /// documentation for more information.
/// ///
/// By default host name is set to a "localhost" value. /// By default host name is set to a "localhost" value.

View File

@ -82,7 +82,7 @@ use crate::HttpResponse;
/// ///
/// # Security /// # Security
/// **\*** It is calculated using /// **\*** It is calculated using
/// [`ConnectionInfo::realip_remote_addr()`](super::dev::ConnectionInfo::realip_remote_addr()) /// [`ConnectionInfo::realip_remote_addr()`](crate::dev::ConnectionInfo::realip_remote_addr())
/// ///
/// If you use this value ensure that all requests come from trusted hosts, since it is trivial /// If you use this value ensure that all requests come from trusted hosts, since it is trivial
/// for the remote client to simulate being another client. /// for the remote client to simulate being another client.

View File

@ -213,7 +213,7 @@ where
/// Set server host name. /// Set server host name.
/// ///
/// Host name is used by application router as a hostname for url generation. /// Host name is used by application router as a hostname for url generation.
/// Check [ConnectionInfo](dev::ConnectionInfo::host()) /// Check [ConnectionInfo](super::dev::ConnectionInfo::host())
/// documentation for more information. /// documentation for more information.
/// ///
/// By default host name is set to a "localhost" value. /// By default host name is set to a "localhost" value.