aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfaiface <faiface2202@gmail.com>2019-05-06 19:17:15 +0200
committerfaiface <faiface2202@gmail.com>2019-05-06 19:17:15 +0200
commit87de7bd7433abf1ab8380e09fde5892074934c7f (patch)
treee0cd4ad1f052ac7dd8691da646648986c34d899f
parentf5440dd2956919caf89701dd226e31fb8bc035f5 (diff)
downloadgui-87de7bd7433abf1ab8380e09fde5892074934c7f.zip
README: better word
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 192123f..e273568 100644
--- a/README.md
+++ b/README.md
@@ -325,7 +325,7 @@ env.Draw() <- func(drw draw.Image) image.Rectangle {
The code above has a danger of a race condition. The code that changes the `pressed` variable and the code that uses it may run concurrently.
-**My advice is to never enclose an outer variable in a drawing function.**
+**My advice is to never enclose a shared variable in a drawing function.**
Instead, you can do this: