Add some type hints and remove legacy code.

This commit is contained in:
Andrey Antukh 2021-02-15 21:03:24 +01:00 committed by Andrés Moya
parent 2e084cc2a6
commit 784a4f8ecd
11 changed files with 18 additions and 181 deletions

View file

@ -165,7 +165,7 @@
(string->content data)
(bytes? data)
(input-stream->content (ByteArrayInputStream. ^bytes data) (alength data))
(input-stream->content (ByteArrayInputStream. ^bytes data) (alength ^bytes data))
(instance? InputStream data)
(do