aboutsummaryrefslogtreecommitdiff
path: root/src/primitive/identityid.rs
diff options
context:
space:
mode:
authorMax Audron <me@audron.dev>2026-02-21 14:35:01 +0100
committerMax Audron <me@audron.dev>2026-02-21 14:35:01 +0100
commitf42ef4bec6d1c63c0d8564cfb06e996666dedbe3 (patch)
treee526bf4cae5ecf798469acc157b14122d4a5e25a /src/primitive/identityid.rs
parentreplace all match_variant instances with try_into (diff)
clean up clippy lints
Diffstat (limited to '')
-rw-r--r--src/primitive/identityid.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/primitive/identityid.rs b/src/primitive/identityid.rs
index 850cfb5..309bd29 100644
--- a/src/primitive/identityid.rs
+++ b/src/primitive/identityid.rs
@@ -20,7 +20,7 @@ impl Serialize for IdentityId {
impl Deserialize for IdentityId {
fn parse(b: &[u8]) -> Result<(usize, Self), ProtocolError> {
let (size, value) = i32::parse(b)?;
- return Ok((size, IdentityId(value)));
+ Ok((size, IdentityId(value)))
}
}