Skip to content

Commit

Permalink
Add more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseizinger committed Aug 5, 2022
1 parent 73ef566 commit 5547c9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/inbox/chan_ptr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ use crate::inbox::Chan;
///
/// Apart from [`TxEither`], all reference-counting policies are zero-sized types and the actual channel
/// is stored in an `Arc`, meaning this pointer type is exactly as wide as an `Arc`, i.e. 8 bytes.
///
/// This is possible because the actual reference counting is done within [`Chan`].
pub struct ChanPtr<A, Rc>
where
Rc: RefCounter,
Expand Down

0 comments on commit 5547c9f

Please sign in to comment.