mirror of
https://github.com/fafhrd91/actix-web
synced 2025-01-18 13:51: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.
|
/// Create scope with new state.
|
||||||
///
|
///
|
||||||
|
/// Scope can have only one nested scope with new state. Every call
|
||||||
|
/// destroys previously created scope with state.
|
||||||
|
///
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// # extern crate actix_web;
|
/// # extern crate actix_web;
|
||||||
/// use actix_web::{http, App, HttpRequest, HttpResponse, Path};
|
/// use actix_web::{http, App, HttpRequest, HttpResponse, Path};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user