diff options
| author | Max Audron <me@audron.dev> | 2026-02-21 14:35:01 +0100 |
|---|---|---|
| committer | Max Audron <me@audron.dev> | 2026-02-21 14:35:01 +0100 |
| commit | f42ef4bec6d1c63c0d8564cfb06e996666dedbe3 (patch) | |
| tree | e526bf4cae5ecf798469acc157b14122d4a5e25a /src/primitive/identityid.rs | |
| parent | replace all match_variant instances with try_into (diff) | |
clean up clippy lints
Diffstat (limited to 'src/primitive/identityid.rs')
| -rw-r--r-- | src/primitive/identityid.rs | 2 |
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))) } } |
