Skip to content

Commit

Permalink
Make Result type public
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseizinger committed Oct 25, 2022
1 parent 7f6934d commit 077dcf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub use crate::frame::{
FrameDecodeError,
};

type Result<T> = std::result::Result<T, ConnectionError>;
pub type Result<T> = std::result::Result<T, ConnectionError>;

const DEFAULT_CREDIT: u32 = 256 * 1024; // as per yamux specification

Expand Down

0 comments on commit 077dcf2

Please sign in to comment.