Fix typo and trailing whitespace in box-cas! docs (#3601)

This commit is contained in:
Davis Silverman 2021-01-05 09:31:53 -05:00 committed by GitHub
parent b56276c670
commit 17b7033402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ boxes that are not @tech{impersonators}.
@racket[box], the operation is equivalent to
@racketblock[
(and (eq? old (unbox loc)) (set-box! loc new) #t)]
(and (eq? old (unbox box)) (set-box! box new) #t)]
except that @racket[box-cas!] can spuriously fail on some platforms.
That is, with low probability, the result can be @racket[#f] with the