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:
parent
af8e5c35c4
commit
3a571e036a
@ -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".
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user