Skip to content

Commit 2dbdfe1

Browse files
committed
ref(navi/dr_transform): fix clippy & formatting issues
1 parent ec83d01 commit 2dbdfe1

File tree

3 files changed

+133
-169
lines changed

3 files changed

+133
-169
lines changed

navi/dr_transform/src/all_config.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,5 @@ pub struct RenamedFeatures {
4444
}
4545

4646
pub fn parse(json_str: &str) -> Result<AllConfig, Error> {
47-
let all_config: AllConfig = serde_json::from_str(json_str)?;
48-
return std::result::Result::Ok(all_config);
47+
serde_json::from_str(json_str)
4948
}

0 commit comments

Comments
 (0)