Skip to content

Commit

Permalink
rm space between proc keyword and params
Browse files Browse the repository at this point in the history
  • Loading branch information
neroist committed Jul 19, 2024
1 parent ae6b923 commit 8d9408d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/custom_web_server/server.nim
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import std/asyncdispatch
proc main {.async.} =
var server = newAsyncHttpServer()

proc cb (req: Request) {.async.} =
proc cb(req: Request) {.async.} =
# echo (req.reqMethod, req.url, req.headers)

let headers = {"Content-type": "text/plain; charset=utf-8"}
Expand Down

0 comments on commit 8d9408d

Please sign in to comment.