diff options
Diffstat (limited to 'src/model/channel/channel_category.rs')
| -rw-r--r-- | src/model/channel/channel_category.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/model/channel/channel_category.rs b/src/model/channel/channel_category.rs index 119f1f1..c88f7fa 100644 --- a/src/model/channel/channel_category.rs +++ b/src/model/channel/channel_category.rs @@ -94,10 +94,7 @@ impl ChannelCategory { } let mut map = Map::new(); - map.insert( - "name".to_owned(), - Value::String(self.name.clone()), - ); + map.insert("name".to_owned(), Value::String(self.name.clone())); map.insert( "position".to_owned(), Value::Number(Number::from(self.position)), |