From 17b7033402078038bca85b478243a19baba52f4f Mon Sep 17 00:00:00 2001 From: Davis Silverman Date: Tue, 5 Jan 2021 09:31:53 -0500 Subject: [PATCH] Fix typo and trailing whitespace in box-cas! docs (#3601) --- pkgs/racket-doc/scribblings/reference/data.scrbl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/racket-doc/scribblings/reference/data.scrbl b/pkgs/racket-doc/scribblings/reference/data.scrbl index c160b085c0..1c796f3f8f 100644 --- a/pkgs/racket-doc/scribblings/reference/data.scrbl +++ b/pkgs/racket-doc/scribblings/reference/data.scrbl @@ -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