Revert "add missing import to asynchttpserver's example"

This reverts commit 7ef364a402.
This commit is contained in:
flywind
2021-06-03 21:27:08 +08:00
parent 7ef364a402
commit 6bb38724dd

View File

@@ -18,7 +18,7 @@ runnableExamples("-r:off"):
# This example will create an HTTP server on an automatically chosen port.
# It will respond to all requests with a `200 OK` response code and "Hello World"
# as the response body.
import std/asyncdispatch, asynchttpserver
import std/asyncdispatch
proc main {.async.} =
var server = newAsyncHttpServer()
proc cb(req: Request) {.async.} =