doc: fix contract for read-syntax

Closes #3771
This commit is contained in:
sorawee 2021-04-11 22:16:55 +07:00 committed by Matthew Flatt
parent 48621b4bf5
commit 413f09aaaa

View File

@ -15,7 +15,7 @@ parameters.
See @secref["reader"] for information on the default reader and
@secref["parse-reader"] for the protocol of @racket[read].}
@defproc[(read-syntax [source-name any/c (object-name in)]
@defproc[(read-syntax [source-name any/c (object-name (current-input-port))]
[in input-port? (current-input-port)])
(or/c syntax? eof-object?)]{