aboutsummaryrefslogtreecommitdiff
path: root/src/model/channel/guild_channel.rs
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-07-14 06:54:51 +0200
committeracdenisSK <[email protected]>2017-07-14 06:54:51 +0200
commit682f0f3c97559e799c0662d12acc4a7a15131fc9 (patch)
tree3afe93b946184e7d55106b11be082827acc2a24c /src/model/channel/guild_channel.rs
parentSwitch to tokio for events (#122) (diff)
downloadserenity-682f0f3c97559e799c0662d12acc4a7a15131fc9.tar.xz
serenity-682f0f3c97559e799c0662d12acc4a7a15131fc9.zip
Fix more doc tests
Diffstat (limited to 'src/model/channel/guild_channel.rs')
-rw-r--r--src/model/channel/guild_channel.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/channel/guild_channel.rs b/src/model/channel/guild_channel.rs
index 995586e..7d77ecf 100644
--- a/src/model/channel/guild_channel.rs
+++ b/src/model/channel/guild_channel.rs
@@ -473,7 +473,7 @@ impl GuildChannel {
/// },
/// };
///
- /// let _ = msg.channel_id.send_file(file, "cat.png", |m| m.content("here's a cat"));
+ /// let _ = msg.channel_id.send_files((&file, "cat.png"), |m| m.content("here's a cat"));
/// }
/// }
///