aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index a694739..a561af4 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -116,7 +116,7 @@ fn p_app_version<'a>(input: &'a [u8]) -> IResult<&'a [u8], PAppVersion> {
}
fn p_arrangement<'a>(input: &'a [u8]) -> IResult<&'a [u8], PArrangement> {
- let mut v = PArrangement::default();
+ let v = PArrangement::default();
Ok((input, v))
}
@@ -247,7 +247,7 @@ fn arrangement_chunk<'a>(input: &'a [u8]) -> IResult<&'a [u8], PArrangement> {
println!("[*] {:?}: {} ({} bytes)", o.node_type, o.name, o.payload.unwrap().len());
assert_eq!(r2.len(), 0);
- let (r2, v) = p_arrangement(o.payload.unwrap())?;
+ let (r2, _v) = p_arrangement(o.payload.unwrap())?;
// assert_eq!(r2.len(), 0);
Ok((r2, PArrangement::default()))