Fix unused imports.
This commit is contained in:
parent
a7ff20b299
commit
5f1391f39f
|
@ -7,10 +7,10 @@
|
|||
# Apache License, version 2.0, (LICENSE-APACHEv2)
|
||||
# MIT license (LICENSE-MIT)
|
||||
|
||||
import net, nativesockets, os, asyncloop
|
||||
import net, nativesockets, asyncloop
|
||||
|
||||
when defined(windows):
|
||||
import winlean
|
||||
import os, winlean
|
||||
const
|
||||
asyncInvalidSocket* = AsyncFD(-1)
|
||||
TCP_NODELAY* = 1
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# Licensed under either of
|
||||
# Apache License, version 2.0, (LICENSE-APACHEv2)
|
||||
# MIT license (LICENSE-MIT)
|
||||
import strutils, unittest
|
||||
import unittest
|
||||
import ../chronos
|
||||
|
||||
when defined(nimHasUsed): {.used.}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# Licensed under either of
|
||||
# Apache License, version 2.0, (LICENSE-APACHEv2)
|
||||
# MIT license (LICENSE-MIT)
|
||||
import strutils, unittest, os
|
||||
import strutils, unittest
|
||||
import ../chronos, ../chronos/streams/tlsstream
|
||||
|
||||
when defined(nimHasUsed): {.used.}
|
||||
|
|
Loading…
Reference in New Issue