Commit c74c7a1
docs: correct Session SAFETY comment after crossbeam swap
`crossbeam_channel::Receiver<T>` is `Sync` (unlike `mpsc::Receiver`),
so the old "Receiver is `Send` but `!Sync`" justification no longer
matched the truth — `Session` is `!Sync` because of its `NonNull<…>`
field, not its receiver. Rewrite the SAFETY comment accordingly.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 662e354 commit c74c7a1
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
0 commit comments