Skip to content

Commit

Permalink
Update training-slides/src/deconstructing-send-arc-mutex.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Pallant <[email protected]>
  • Loading branch information
listochkin and jonathanpallant authored Feb 5, 2024
1 parent 12624c7 commit 19c881c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion training-slides/src/deconstructing-send-arc-mutex.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Two allowable options:
* applies to data passed from parent thread to child thread or vice-versa
* prevents passing references to local variables
* one thread can finish before the other and such references may become invalid
* `+ 'static` lets borrow checker detect these situations at compile time
* `+ 'static` avoids this by ensuring any references point to data that has the static lifetime (i.e. that lives forever)

## `T: Send`

Expand Down

0 comments on commit 19c881c

Please sign in to comment.