mirror of
https://github.com/actix/actix-web.git
synced 2024-11-10 10:59:33 +00:00
update doc string
This commit is contained in:
parent
25b245ac72
commit
bfd46e6a71
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue