1
0
mirror of https://github.com/actix/actix-website synced 2025-01-22 16:15:56 +01:00

Fixed typo (#200)

This commit is contained in:
Gabriel Goller 2020-11-05 14:50:03 +01:00 committed by GitHub
parent af8e5c35c4
commit 3a571e036a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ macros. These allow you to specify the method and path that the handler should r
see below how to register the other route that does not use a routing macro. see below how to register the other route that does not use a routing macro.
Next, create an `App` instance and register the request handlers. Use `App::service` for the Next, create an `App` instance and register the request handlers. Use `App::service` for the
handlers using routing macros and `App::route` for manually routed handlers, declaring the a path handlers using routing macros and `App::route` for manually routed handlers, declaring the path
and method. Finally, the app is started inside an `HttpServer` which will serve incoming requests and method. Finally, the app is started inside an `HttpServer` which will serve incoming requests
using your `App` as an "application factory". using your `App` as an "application factory".