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:
@@ -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
|
||||
|
Reference in New Issue
Block a user