Fix unused imports.

This commit is contained in:
cheatfate 2019-10-24 16:21:31 +03:00
parent a7ff20b299
commit 5f1391f39f
No known key found for this signature in database
GPG Key ID: 46ADD633A7201F95
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

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

View File

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