diff --git a/src/common.rs b/src/common.rs index a88c490ca88c28c09e848f86a9d7ede72dd2a5c0..9ac1ddeb679f167a0242856a8f1ee093ba0669a3 100644 --- a/src/common.rs +++ b/src/common.rs @@ -57,7 +57,7 @@ pub struct PortId(Id); /// A safely aliasable heap-allocated payload of message bytes #[derive(Default, Eq, PartialEq, Clone, Ord, PartialOrd)] -pub struct Payload(Arc>); +pub struct Payload(pub Arc>); #[derive(Debug, Eq, PartialEq, Clone, Hash, Copy, Ord, PartialOrd)] /// "Orientation" of a port, determining whether they can send or receive messages with `put` and `get` respectively.