Skip to content

Commit

Permalink
[refactor]: use displaydoc
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Balashov <[email protected]>
  • Loading branch information
0x009922 authored and mversic committed Dec 11, 2023
1 parent c17466f commit f3d5f20
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/src/kiso.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,9 @@ enum Message {
}

/// Possible errors might occur while working with [`KisoHandle`]
#[derive(thiserror::Error, Debug)]
#[derive(thiserror::Error, displaydoc::Display, Debug)]
pub enum Error {
#[allow(missing_docs)]
#[error("failed to get actor's response")]
/// Failed to get actor's response
Communication(#[from] oneshot::error::RecvError),
}

Expand Down

0 comments on commit f3d5f20

Please sign in to comment.