1
0
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:
Nikolay Kim 2018-04-29 22:28:16 -07:00
parent 25b245ac72
commit bfd46e6a71

View File

@ -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};