From 0a997d28a45eb274dbd6cfb81b125eef8c891e84 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Sat, 1 Jul 2017 20:50:39 +1000 Subject: [PATCH] Remove unused serde attributes --- src/r0/config.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/r0/config.rs b/src/r0/config.rs index 90b467f0..31b5e844 100644 --- a/src/r0/config.rs +++ b/src/r0/config.rs @@ -24,7 +24,6 @@ pub mod set_room_account_data { /// /// Custom types should be namespaced to avoid clashes. #[ruma_api(path)] - #[serde(rename = "type")] pub event_type: String, /// The ID of the room to set account_data on. #[ruma_api(path)] @@ -64,7 +63,6 @@ pub mod set_global_account_data { /// /// Custom types should be namespaced to avoid clashes. #[ruma_api(path)] - #[serde(rename = "type")] pub event_type: String, /// The ID of the user to set account_data for. ///