Skip to content

Commit

Permalink
Clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Oct 7, 2024
1 parent 629e362 commit 6740c47
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions bindings_wasm/src/groups.rs
Original file line number Diff line number Diff line change
Expand Up @@ -571,15 +571,13 @@ impl WasmGroup {
self.created_at_ns,
);

Ok(
group
.is_active(
group
.mls_provider()
.map_err(|e| JsError::new(&format!("{e}")))?,
)
.map_err(|e| JsError::new(&format!("{e}")))?,
)
group
.is_active(
group
.mls_provider()
.map_err(|e| JsError::new(&format!("{e}")))?,
)
.map_err(|e| JsError::new(&format!("{e}")))
}

#[wasm_bindgen]
Expand All @@ -590,11 +588,9 @@ impl WasmGroup {
self.created_at_ns,
);

Ok(
group
.added_by_inbox_id()
.map_err(|e| JsError::new(&format!("{e}")))?,
)
group
.added_by_inbox_id()
.map_err(|e| JsError::new(&format!("{e}")))
}

#[wasm_bindgen]
Expand Down

0 comments on commit 6740c47

Please sign in to comment.