diff --git a/src/extractor.rs b/src/extractor.rs index 098b4d8f..659aa01c 100644 --- a/src/extractor.rs +++ b/src/extractor.rs @@ -325,7 +325,7 @@ impl Default for FormConfig { /// fn main() { /// let app = App::new().resource( /// "/index.html", |r| -/// r.method(http::Method::GET).with(index)) +/// r.method(http::Method::GET).with(index)); /// } /// ``` impl FromRequest for Bytes { @@ -372,7 +372,7 @@ impl FromRequest for Bytes { /// r.method(http::Method::GET) /// .with(index) // <- register handler with extractor params /// .limit(4096); // <- limit size of the payload -/// }) +/// }); /// } /// ``` impl FromRequest for String {