diff options
| author | Zeyla Hellyer <[email protected]> | 2017-09-18 17:48:52 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-09-18 17:48:52 -0700 |
| commit | dae2cb77b407044f44a7a2790d93efba3891854e (patch) | |
| tree | bef263c4490536cf8b56e988e71dd1aa43bc2696 /src/model/webhook.rs | |
| parent | Fix compiles of a variety of feature combinations (diff) | |
| download | serenity-dae2cb77b407044f44a7a2790d93efba3891854e.tar.xz serenity-dae2cb77b407044f44a7a2790d93efba3891854e.zip | |
Apply rustfmt
Diffstat (limited to 'src/model/webhook.rs')
| -rw-r--r-- | src/model/webhook.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/model/webhook.rs b/src/model/webhook.rs index 39099e0..5e10d90 100644 --- a/src/model/webhook.rs +++ b/src/model/webhook.rs @@ -118,10 +118,7 @@ impl Webhook { } if let Some(name) = name { - map.insert( - "name".to_owned(), - Value::String(name.to_owned()), - ); + map.insert("name".to_owned(), Value::String(name.to_owned())); } match http::edit_webhook_with_token(self.id.0, &self.token, &map) { |