Fix typo and trailing whitespace in box-cas! docs (#3601)
This commit is contained in:
parent
b56276c670
commit
17b7033402
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user