aboutsummaryrefslogtreecommitdiff
path: root/src/uid.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/uid.rs')
-rw-r--r--src/uid.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uid.rs b/src/uid.rs
index b15f65b..fed0af0 100644
--- a/src/uid.rs
+++ b/src/uid.rs
@@ -3,7 +3,7 @@ use serde::{Deserialize, Serialize};
#[derive(Debug, Serialize, Deserialize, Clone, Copy, PartialEq, Eq)]
pub struct UID(u8, u8);
impl UID {
- fn to_hex(&self) -> String {
+ pub fn to_hex(&self) -> String {
hex::encode_upper(vec![self.0, self.1])
}
pub fn from(s: String) -> Result<Self, String> {