Skip to content

Commit 81b3b27

Browse files
committed
Auto merge of #28969 - chrisccerami:link_to_ffi_in_concurrency_chapter, r=steveklabnik
2 parents c413bb4 + 42e3f1d commit 81b3b27

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/doc/trpl/concurrency.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,12 @@ channel connecting two threads, we would want to be able to send some data
3535
down the channel and to the other thread. Therefore, we'd ensure that `Send` was
3636
implemented for that type.
3737

38-
In the opposite way, if we were wrapping a library with FFI that isn't
38+
In the opposite way, if we were wrapping a library with [FFI][ffi] that isn't
3939
threadsafe, we wouldn't want to implement `Send`, and so the compiler will help
4040
us enforce that it can't leave the current thread.
4141

42+
[ffi]: ffi.html
43+
4244
### `Sync`
4345

4446
The second of these traits is called [`Sync`](../std/marker/trait.Sync.html).

0 commit comments

Comments
 (0)