Skip to content

Commit

Permalink
docs: reword sentence (#3530)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
c-git and robjtede authored Dec 29, 2024
1 parent ee6a6ec commit 3d45366
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions actix-web/src/resource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
/// ```
Expand Down

0 comments on commit 3d45366

Please sign in to comment.