diff options
Diffstat (limited to 'lib/pure/volatile.nim')
-rw-r--r-- | lib/pure/volatile.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/volatile.nim b/lib/pure/volatile.nim index 208f0fcaa..7fdf40e4b 100644 --- a/lib/pure/volatile.nim +++ b/lib/pure/volatile.nim @@ -12,7 +12,7 @@ template volatileLoad*[T](src: ptr T): T = ## Generates a volatile load of the value stored in the container `src`. - ## Note that this only effects code generation on `C` like backends + ## Note that this only effects code generation on `C` like backends. when nimvm: src[] else: @@ -26,7 +26,7 @@ template volatileLoad*[T](src: ptr T): T = template volatileStore*[T](dest: ptr T, val: T) = ## Generates a volatile store into the container `dest` of the value ## `val`. Note that this only effects code generation on `C` like - ## backends + ## backends. when nimvm: dest[] = val else: |