Skip to content

Commit a08af73

Browse files
wasm fixes
1 parent a710f9d commit a08af73

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

iroh-base/src/endpoint_addr.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ use crate::{EndpointId, PublicKey, RelayUrl};
3636
/// [discovery]: https://docs.rs/iroh/*/iroh/index.html#endpoint-discovery
3737
/// [home relay]: https://docs.rs/iroh/*/iroh/relay/index.html
3838
/// [Relay server]: https://docs.rs/iroh/*/iroh/index.html#relay-servers
39-
#[derive(
40-
derive_more::Debug, Clone, Serialize, Deserialize, PartialEq, Eq, PartialOrd, Ord, Hash,
41-
)]
39+
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, PartialOrd, Ord, Hash)]
4240
pub struct EndpointAddr {
4341
/// The endpoint's identifier.
4442
pub id: EndpointId,

iroh/src/magicsock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ impl MagicSock {
303303
let endpoint_state = self.endpoint_map.endpoint_state_actor(remote);
304304
let msg = EndpointStateMessage::AddConnection(weak_handle, paths_info);
305305

306-
tokio::task::spawn(async move {
306+
task::spawn(async move {
307307
endpoint_state.send(msg).await.ok();
308308
});
309309
}

0 commit comments

Comments
 (0)