Skip to content
Snippets Groups Projects
Commit 6379a7e5 authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon: Committed by Georgy Moshkin
Browse files

chore: minor tweaks

parent d55aa4b8
No related branches found
No related tags found
1 merge request!262chore: minor tweaks
Pipeline #12241 passed
......@@ -29,7 +29,7 @@ pub enum Error {
Tarantool(#[from] ::tarantool::error::Error),
#[error("peer with id {0} not found")]
NoPeerWithRaftId(RaftId),
#[error(r#"peer with id "{0}" not found"#)]
#[error("peer with id {0:?} not found")]
NoPeerWithInstanceId(InstanceId),
#[error("other error: {0}")]
Other(Box<dyn std::error::Error>),
......
......@@ -388,12 +388,14 @@ macro_rules! define_peer_fields {
$(
/// Helper struct that represents
#[doc = stringify!($name)]
/// field of `Peer`.
/// field of [`Peer`].
///
/// It's rust type is
#[doc = concat!("`", stringify!($ty), "`")]
/// and it's tarantool type is
#[doc = concat!("`", stringify!($tt_ty), "`")]
///
/// [`Peer`]: crate::traft::Peer
pub struct $field;
impl PeerFieldDef for $field {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment