reference: fix docs on get-output-string

This commit is contained in:
Matthew Flatt 2021-02-16 17:24:48 -07:00
parent cc5dbaac2c
commit 5ed105ef8a

View File

@ -139,7 +139,7 @@ passing a second argument to @racket[subbytes].}
(get-output-bytes op)]
@defproc[(get-output-string [out (and/c output-port? string-port?)]) string?]{
Returns @racket[(bytes->string/utf-8 (get-output-bytes out) #\?)].}
Returns @racket[(bytes->string/utf-8 (get-output-bytes out) @#,racketvalfont{#\uFFFD})].}
@examples[
(define i (open-input-string "hello world"))