summaryrefslogtreecommitdiffstats
path: root/src/node_id.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-12-28 16:14:27 +0000
committerGitHub <noreply@github.com>2022-12-28 16:14:27 +0000
commit1ae9cf9eb463f9fdcd5b843f3a6e979a72258e4d (patch)
tree56075181ade1b6514f80d5f336d05a1821912e0e /src/node_id.rs
parentcb1f23e1126b6f097906729e6b775499f55a07df (diff)
parent7863c3bcf8c7ca37bfc5652ec92e620968e635e4 (diff)
Merge #3
3: Transform codebase to use thiserror r=matthiasbeyer a=matthiasbeyer Co-authored-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/node_id.rs')
-rw-r--r--src/node_id.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_id.rs b/src/node_id.rs
index df1e4d4..5d0663a 100644
--- a/src/node_id.rs
+++ b/src/node_id.rs
@@ -7,4 +7,4 @@
/// A unique identifier for a `Node`
///
/// The `NodeId` should be cheap to clone (for example a UUID or some form of a hash value).
-pub trait NodeId: Clone + Eq + PartialEq {}
+pub trait NodeId: Clone + Eq + PartialEq + std::fmt::Debug {}