diff options
| author | Zeyla Hellyer <[email protected]> | 2017-08-18 16:14:32 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-08-18 17:52:53 -0700 |
| commit | e4113570967a1fb13539efbfa2cf7285b19d95ba (patch) | |
| tree | 06bb020fcfaa5f8323454dfb525272314a900186 /src/model/webhook.rs | |
| parent | Move Clippy lints to a cfg_attr (diff) | |
| download | serenity-e4113570967a1fb13539efbfa2cf7285b19d95ba.tar.xz serenity-e4113570967a1fb13539efbfa2cf7285b19d95ba.zip | |
Apply rustfmt
Diffstat (limited to 'src/model/webhook.rs')
| -rw-r--r-- | src/model/webhook.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/model/webhook.rs b/src/model/webhook.rs index 5e10d90..39099e0 100644 --- a/src/model/webhook.rs +++ b/src/model/webhook.rs @@ -118,7 +118,10 @@ 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) { |