doc typo: "bytes string" to "byte string" (2 more)

This commit is contained in:
Matthew Butterick 2020-05-21 09:07:00 -07:00 committed by GitHub
parent d1ba6cd8b6
commit c1fe5e5719
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,12 +126,12 @@ positions are initialized with the given @racket[b]s.
Changes the bytes of @racket[dest] starting at position Changes the bytes of @racket[dest] starting at position
@racket[dest-start] to match the bytes in @racket[src] from @racket[dest-start] to match the bytes in @racket[src] from
@racket[src-start] (inclusive) to @racket[src-end] (exclusive). The @racket[src-start] (inclusive) to @racket[src-end] (exclusive). The
bytes strings @racket[dest] and @racket[src] can be the same byte byte strings @racket[dest] and @racket[src] can be the same byte
string, and in that case the destination region can overlap with the string, and in that case the destination region can overlap with the
source region; the destination bytes after the copy match the source source region; the destination bytes after the copy match the source
bytes from before the copy. If any of @racket[dest-start], bytes from before the copy. If any of @racket[dest-start],
@racket[src-start], or @racket[src-end] are out of range (taking into @racket[src-start], or @racket[src-end] are out of range (taking into
account the sizes of the bytes strings and the source and destination account the sizes of the byte strings and the source and destination
regions), the @exnraise[exn:fail:contract]. regions), the @exnraise[exn:fail:contract].
@mz-examples[(define s (bytes 65 112 112 108 101)) @mz-examples[(define s (bytes 65 112 112 108 101))