Skip to content

Commit

Permalink
Make constructor for StreamInstant public
Browse files Browse the repository at this point in the history
  • Loading branch information
hankthetank27 committed Jan 26, 2025
1 parent 53fdfdb commit dd01904
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 @@ -479,7 +479,7 @@ impl StreamInstant {
Self::new(s, ns)
}

fn new(secs: i64, nanos: u32) -> Self {
pub fn new(secs: i64, nanos: u32) -> Self {
StreamInstant { secs, nanos }
}
}
Expand Down

0 comments on commit dd01904

Please sign in to comment.