From 218f37d0507cc02d894d1152179a53b2c02e6d7d Mon Sep 17 00:00:00 2001 From: Ling Wang Date: Thu, 1 Oct 2020 21:30:07 -0500 Subject: [PATCH] Fix double addressing --- proposals/0282-atomics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposals/0282-atomics.md b/proposals/0282-atomics.md index 2d9ed5498f..e1a976204a 100644 --- a/proposals/0282-atomics.md +++ b/proposals/0282-atomics.md @@ -181,7 +181,7 @@ However, despite the superficial similarity, the `&` here isn't an address-of op ```swift withUnsafePointer(to: &value) { pointer in - test(&pointer) + test(pointer) } ```