mirror of
https://github.com/fafhrd91/actix-web
synced 2025-01-18 13:51:50 +01:00
docs: reword sentence (#3530)
* docs: reword sentence The sentence was a bit hard to follow. I think it seems more natural now. * docs: fix whitespace --------- Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
parent
5b60d81f57
commit
8200e4ee82
@ -28,9 +28,9 @@ use crate::{
|
|||||||
///
|
///
|
||||||
/// Resource in turn has at least one route. Route consists of an handlers objects and list of
|
/// Resource in turn has at least one route. Route consists of an handlers objects and list of
|
||||||
/// guards (objects that implement `Guard` trait). Resources and routes uses builder-like pattern
|
/// guards (objects that implement `Guard` trait). Resources and routes uses builder-like pattern
|
||||||
/// for configuration. During request handling, resource object iterate through all routes and check
|
/// for configuration. During request handling, the resource object iterates through all routes
|
||||||
/// guards for specific route, if request matches all guards, route considered matched and route
|
/// and checks guards for the specific route, if the request matches all the guards, then the route
|
||||||
/// handler get called.
|
/// is considered matched and the route handler gets called.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
/// ```
|
/// ```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user