Skip to content

Commit

Permalink
Merge pull request #393 from scylladb/stdio_transparent
Browse files Browse the repository at this point in the history
frame: make StdIoError transparent
  • Loading branch information
piodul authored Feb 7, 2022
2 parents 9446cc9 + 8a4415f commit a727a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scylla/src/frame/frame_errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub enum FrameError {
FrameDecompression,
#[error("Frame compression failed.")]
FrameCompression,
#[error("std io error encountered while processing")]
#[error(transparent)]
StdIoError(#[from] std::io::Error),
#[error("Unrecognized opcode{0}")]
TryFromPrimitiveError(#[from] num_enum::TryFromPrimitiveError<response::ResponseOpcode>),
Expand Down

0 comments on commit a727a1a

Please sign in to comment.