[fractal/clippyfixes: 3/7] clippy: identical conversion
- From: Alexandre Franke <afranke src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal/clippyfixes: 3/7] clippy: identical conversion
- Date: Fri, 23 Oct 2020 16:00:42 +0000 (UTC)
commit f76f879ad63f713e7337bc686d361af76f9c0b67
Author: Alexandre Franke <afranke gnome org>
Date: Fri Oct 23 17:42:50 2020 +0200
clippy: identical conversion
https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion
fractal-gtk/src/backend/room.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/fractal-gtk/src/backend/room.rs b/fractal-gtk/src/backend/room.rs
index 1f146971..e8c7f9d6 100644
--- a/fractal-gtk/src/backend/room.rs
+++ b/fractal-gtk/src/backend/room.rs
@@ -434,7 +434,7 @@ pub fn join_room(
access_token: AccessToken,
room_id: RoomIdOrAliasId,
) -> Result<RoomId, JoinRoomError> {
- let room_id_or_alias_id = room_id.into();
+ let room_id_or_alias_id = room_id;
let params = JoinRoomParameters {
access_token,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]