Skip to content

Commit 438ad11

Browse files
authored
Update dma.md
1 parent eee1b95 commit 438ad11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dma.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ result in a data race: both the processor and the DMA would end up modifying
166166
`buf` at the same time. Similarly the compiler can move the zeroing operation to
167167
after `read_exact`, which would also result in a data race.
168168

169-
To prevent these problematic reorderings we can use a [`compiler_fence`]:
169+
To prevent these problematic reorderings we can use a [`compiler_fence`].
170170

171171
[`compiler_fence`]: https://doc.rust-lang.org/core/sync/atomic/fn.compiler_fence.html
172172

0 commit comments

Comments
 (0)