Skip to content

Commit

Permalink
chore: fmt & clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Jan 30, 2024
1 parent b6f05c4 commit 14e2422
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/libwasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -658,11 +658,7 @@ impl Client {
})
.collect::<Result<Vec<_>, _>>()?;

let mut stream = self
.inner
.on_entity_updated(ids)
.await
.unwrap();
let mut stream = self.inner.on_entity_updated(ids).await.unwrap();

wasm_bindgen_futures::spawn_local(async move {
while let Some(update) = stream.next().await {
Expand Down Expand Up @@ -780,7 +776,7 @@ pub async fn create_client(
.map_err(|err| JsValue::from(format!("failed to parse world address: {err}")))?;

let client = torii_client::client::Client::new(
torii_url,
torii_url,
rpc_url,
relay_url,
world_address,
Expand Down

0 comments on commit 14e2422

Please sign in to comment.