fix doc typo

Closes PR 13353
This commit is contained in:
Matthew Flatt 2013-01-01 15:08:23 -07:00
parent 55f98a15d4
commit b67ca6350c

View File

@ -863,19 +863,19 @@ A @tech{custom function type} like @racket[_list], except that it uses
Racket vectors instead of lists.} Racket vectors instead of lists.}
@defform*[#:literals (o) @defform*[#:id _bytes
[(_bytes o len-expr) #:literals (o)
_bytes]]{ [_bytes
(_bytes o len-expr)]]{
A @tech{custom function type} that can be used by itself as a simple A @tech{custom function type} that can be used by itself as a simple
type for a byte string as a C pointer. Alternatively, the second form type for a byte string as a C pointer. Alternatively, the second form
is for a pointer return value, where the size should be explicitly is for a pointer return value, where the size should be explicitly
specified. specified.
There is no need for other modes: input or input/output would be just There is no need for other modes analogous to those of @racket[_ptr]:
like @racket[_bytes], since the string carries its size information input or input/output would be just like @racket[_bytes], since the
(there is no real need for the @racket[o] part of the syntax, but it string carries its size information.}
is present for consistency with the above macros).}
@; ------------------------------------------------------------ @; ------------------------------------------------------------