aboutsummaryrefslogtreecommitdiff
path: root/src/primitive/identityid.rs
diff options
context:
space:
mode:
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)))
}
}