Skip to content

Commit

Permalink
Correct example code
Browse files Browse the repository at this point in the history
  • Loading branch information
Altai-man committed Jul 27, 2019
1 parent 2377cab commit 791582d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Type/Scalar.pod6
Expand Up @@ -220,7 +220,7 @@ For example:
constant STARTED = Any.new;
my $master = NOT_STARTED;
await start {
if cas($master, NOT_STARTED, STARTED) === Any {
if cas($master, NOT_STARTED, STARTED) === NOT_STARTED {
say "Master!"
}
} xx 4
Expand Down

0 comments on commit 791582d

Please sign in to comment.