Skip to content

Commit

Permalink
chore: lint cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
enmand committed Feb 26, 2024
1 parent 53371af commit 190f7f2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion crates/dwn-rs-wasm/src/surrealdb/data_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ pub struct SurrealDataStore {
store: SurrealDB,
}

impl Default for SurrealDataStore {
fn default() -> Self {
Self::new()
}
}

#[wasm_bindgen(js_class = SurrealDataStore)]
impl SurrealDataStore {
#[wasm_bindgen(constructor)]
Expand Down Expand Up @@ -83,7 +89,7 @@ impl SurrealDataStore {
.map_err(SurrealDataStoreError::from)
{
Ok(d) => Ok(d.into()),
Err(e) => Err(SurrealDataStoreError::from(e).into()),
Err(e) => Err(e.into()),
}
}

Expand Down

0 comments on commit 190f7f2

Please sign in to comment.