mirror of
https://github.com/fafhrd91/actix-web
synced 2025-01-18 05:41:50 +01:00
update doc string
This commit is contained in:
parent
25b245ac72
commit
bfd46e6a71
@ -66,6 +66,9 @@ impl<S: 'static> Scope<S> {
|
||||
|
||||
/// Create scope with new state.
|
||||
///
|
||||
/// Scope can have only one nested scope with new state. Every call
|
||||
/// destroys previously created scope with state.
|
||||
///
|
||||
/// ```rust
|
||||
/// # extern crate actix_web;
|
||||
/// use actix_web::{http, App, HttpRequest, HttpResponse, Path};
|
||||
|
Loading…
x
Reference in New Issue
Block a user