Revert "add missing import to asynchttpserver's example" (#18164)

This reverts commit 7ef364a402.
This commit is contained in:
flywind
2021-06-03 22:44:11 +08:00
committed by GitHub
parent 0aa8b793a5
commit d31cbfd167

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.} =