Skip to content

Commit c73fa6e

Browse files
Ddystopiateor2345
andauthored
Update text/0000-forget-marker-trait.md
Co-authored-by: teor <[email protected]>
1 parent aa8d729 commit c73fa6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-forget-marker-trait.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ fn spawn<'a>(fut: impl IntoFuture + 'a) -> TaskHandler<'a> {
182182
### Async DMA
183183
[example-async-dma]: #example-async-dma
184184

185-
DMA stands for Direct Memory Access and it’s a peripheral used for transferring data between two memory locations in parallel to the operation of the core processor. For the purposes of this example, it can be thought of as `memcpy` in parallel to any other code.
185+
DMA stands for Direct Memory Access, which is used to transfer data between two memory locations in parallel to the operation of the core processor. For the purposes of this example, it can be thought of as `memcpy` in parallel to any other code.
186186

187187
Let's say that `Serial::read_exact` triggers a DMA transfer and returns a future that will resolve on completion. It would be safe if we were to block on this future (basically passing control flow to the future itself), but we may instead trigger undefined behavior with `forget`:
188188

0 commit comments

Comments
 (0)