mirror of
https://github.com/actix/actix-web.git
synced 2024-12-16 21:26:34 +00:00
docs: reword sentence
The sentence was a bit hard to follow. I think it seems more natural now.
This commit is contained in:
parent
8115c818c1
commit
a3e019a4d4
1 changed files with 3 additions and 3 deletions
|
@ -28,9 +28,9 @@ use crate::{
|
|||
///
|
||||
/// 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
|
||||
/// for configuration. During request handling, resource object iterate through all routes and check
|
||||
/// guards for specific route, if request matches all guards, route considered matched and route
|
||||
/// handler get called.
|
||||
/// for configuration. During request handling, the resource object iterates through all routes
|
||||
/// and checks guards for the specific route, if the request matches all the guards, then the
|
||||
/// route is considered matched and the route handler gets called.
|
||||
///
|
||||
/// # Examples
|
||||
/// ```
|
||||
|
|
Loading…
Reference in a new issue