summaryrefslogtreecommitdiff
path: root/lib/thread/atomic.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thread/atomic.myr')
-rw-r--r--lib/thread/atomic.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread/atomic.myr b/lib/thread/atomic.myr
index b9678c7..c3c8124 100644
--- a/lib/thread/atomic.myr
+++ b/lib/thread/atomic.myr
@@ -1,7 +1,7 @@
use std
pkg thread =
- trait atomic @a::(integral,numeric) =
+ trait atomic @a :: integral,numeric @a =
xget : (p : @a# -> @a)
xset : (p : @a#, v : @a -> void)
xadd : (p : @a#, v : @a -> @a)