aboutsummaryrefslogtreecommitdiff
path: root/src/model/channel/embed.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-07-15 23:32:50 -0700
committerZeyla Hellyer <[email protected]>2018-07-15 23:33:59 -0700
commit9da766976929417c4b8f487f8ec05b6f8b3f43ef (patch)
tree83cfae143ad7c1c4423d5ac35bf71d6e0bc6b882 /src/model/channel/embed.rs
parentSupport multiple prefixes for command-groups (#343) (diff)
downloadserenity-9da766976929417c4b8f487f8ec05b6f8b3f43ef.tar.xz
serenity-9da766976929417c4b8f487f8ec05b6f8b3f43ef.zip
Fix some clippy lints
Some lints were not resolved due to causing API changes. Most lints in the framework were left unfixed.
Diffstat (limited to 'src/model/channel/embed.rs')
-rw-r--r--src/model/channel/embed.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/channel/embed.rs b/src/model/channel/embed.rs
index b776d27..0e6fe8e 100644
--- a/src/model/channel/embed.rs
+++ b/src/model/channel/embed.rs
@@ -143,8 +143,8 @@ impl EmbedField {
fn _new(name: String, value: String, inline: bool) -> Self {
Self {
- name: name,
- value: value,
+ name,
+ value,
inline,
}
}