Skip to content

Commit

Permalink
Resolved example warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianSchmid committed Sep 23, 2024
1 parent 7d62209 commit 327b0be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/count_messages_by_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ struct Stats {
}

#[derive(Debug)]
enum Error {
pub enum Error {
IoError(std::io::Error),
PcapError(rpcap::PcapError),
}
Expand Down
2 changes: 1 addition & 1 deletion examples/print_messages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ fn main() -> Result<(), Error> {
}

#[derive(Debug)]
enum Error {
pub enum Error {
IoError(std::io::Error),
PcapError(rpcap::PcapError),
}
Expand Down

0 comments on commit 327b0be

Please sign in to comment.