Remove unused mut
This commit is contained in:
parent
bd23e42cfc
commit
1334fc37e5
@ -191,7 +191,7 @@ pub fn to_canonical_json(value: &Value) -> Result<String, Error> {
|
|||||||
let mut owned_value = value.clone();
|
let mut owned_value = value.clone();
|
||||||
|
|
||||||
{
|
{
|
||||||
let mut object = owned_value.as_object_mut().expect("safe since we checked above");
|
let object = owned_value.as_object_mut().expect("safe since we checked above");
|
||||||
object.remove("signatures");
|
object.remove("signatures");
|
||||||
object.remove("unsigned");
|
object.remove("unsigned");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user