docs: Add doc comment about visibility inheritance

This commit is contained in:
Cobalt 2022-03-29 00:22:29 +02:00
parent 90aa578e77
commit e9ca0b8296
No known key found for this signature in database
GPG Key ID: B62E03F0AD0E3B92
1 changed files with 2 additions and 1 deletions

View File

@ -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]
//!