From e9ca0b82968e1716dd09ff99631288f8906ea184 Mon Sep 17 00:00:00 2001 From: Cobalt Date: Tue, 29 Mar 2022 00:22:29 +0200 Subject: [PATCH] docs: Add doc comment about visibility inheritance --- actix-web-codegen/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actix-web-codegen/src/lib.rs b/actix-web-codegen/src/lib.rs index 5ca5616b6..e937bd161 100644 --- a/actix-web-codegen/src/lib.rs +++ b/actix-web-codegen/src/lib.rs @@ -19,7 +19,8 @@ //! //! # Single Method Handler //! There is a macro to set up a handler for each of the most common HTTP methods that also define -//! additional guards and route-specific middleware. +//! additional guards and route-specific middleware. This macros will inherit the visibility +//! of the underlying handler. //! //! See docs for: [GET], [POST], [PATCH], [PUT], [DELETE], [HEAD], [CONNECT], [OPTIONS], [TRACE] //!