Skip to content

Commit 0539c0c

Browse files
j3rrywan9kezhuw
authored andcommitted
chore: implement the Debug trait for LockPrefix and LockPrefixInner
1 parent 7e6b354 commit 0539c0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/client/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1213,6 +1213,7 @@ impl<'a> LockPrefixKind<'a> {
12131213
}
12141214
}
12151215

1216+
#[derive(Debug)]
12161217
enum LockPrefixInner<'a> {
12171218
Curator { dir: &'a str, name: &'a str },
12181219
Custom { prefix: String, name: &'a str },
@@ -1227,6 +1228,7 @@ enum LockPrefixInner<'a> {
12271228
///
12281229
/// This struct carries path prefix for ephemeral lock path, name filter for candidate contenders
12291230
/// and hint to find created lock path in case of [Error::ConnectionLoss].
1231+
#[derive(Debug)]
12301232
pub struct LockPrefix<'a> {
12311233
inner: LockPrefixInner<'a>,
12321234
}

0 commit comments

Comments
 (0)