Skip to content

Commit

Permalink
Clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
eras committed Jan 2, 2023
1 parent af01009 commit f2c5dec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/matrix_signaling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ use crate::{protocol, signaling::Signaling};
use async_datachannel::Message;
use async_trait::async_trait;
use futures::{channel::mpsc, stream::StreamExt, SinkExt};
//use matrix_sdk::ruma::events::AnyToDeviceEvent;
use anyhow;
use matrix_sdk::{event_handler::EventHandlerHandle, Client};
use ruma::{OwnedDeviceId, OwnedEventId, OwnedUserId};
use ruma_client_api;
Expand Down
2 changes: 1 addition & 1 deletion src/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ pub async fn setup_mode(
let user_id = <&ruma::UserId>::try_from(mxid.as_str())?.to_owned();

let client = Client::builder()
.server_name(&user_id.server_name())
.server_name(user_id.server_name())
.build()
.await?;

Expand Down

0 comments on commit f2c5dec

Please sign in to comment.