1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-09-02 09:36:39 +02:00

fix stable compiler compatibility

This commit is contained in:
Nikolay Kim
2018-04-29 19:49:26 -07:00
parent 4a29f12876
commit 9c1bda3eca
2 changed files with 5 additions and 5 deletions

View File

@@ -319,10 +319,10 @@ where
/// }
/// ```
///
/// In the above example three routes get registered:
/// * /app/path1 - reponds to all http method
/// * /app/path2 - `GET` requests
/// * /app/path3 - `HEAD` requests
/// In the above example, three routes get added:
/// * /app/path1
/// * /app/path2
/// * /app/path3
///
pub fn scope<F>(mut self, path: &str, f: F) -> App<S>
where