Skip to content

Commit 6cf1960

Browse files
authored
Merge pull request #12 from halzy/halzy/10-pub-members
fix: Making IncomingMessage members public.
2 parents 0105e6a + bf27092 commit 6cf1960

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "stream_multiplexer"
3-
version = "0.4.0"
3+
version = "0.4.1"
44
authors = ["Benjamin Halsted <bhalsted@gmail.com>"]
55
edition = "2018"
66
license = "MIT OR Apache-2.0"

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ type StreamId = usize;
4444
/// Produced by the incoming stream
4545
pub struct IncomingMessage<V> {
4646
/// Stream Id that the message if for
47-
id: StreamId,
47+
pub id: StreamId,
4848
/// Value received from a stream
49-
value: V,
49+
pub value: V,
5050
}
5151

5252
impl<V> std::fmt::Debug for IncomingMessage<V> {

0 commit comments

Comments
 (0)