Skip to content

Commit

Permalink
remove redundant closure syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
edchapman88 authored Dec 21, 2023
1 parent db8ab2f commit b9ebbd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trustchain-ffi/src/mobile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ pub fn vc_redact(
.rss_redact(masked_copy, &resolver, &mut ContextLoader::default())
.await
})
.map_err(|err| FFIMobileError::FailedToRedactCredential(err))?;
.map_err(FFIMobileError::FailedToRedactCredential)?;
Ok(serde_json::to_string_pretty(&o_cred).map_err(FFIMobileError::FailedToSerialize)?)
}

Expand Down

0 comments on commit b9ebbd0

Please sign in to comment.