aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-11-18 11:40:06 -0800
committerZeyla Hellyer <[email protected]>2017-11-18 11:40:06 -0800
commite6079cddc8f185939b49bc0b6b7a8c4a4c09a93a (patch)
treec58ebb9d95b721dcf3d0afb8e0f5a50a46041508 /src/client
parentAdd `cmd` to `Create(Command|Group)` (diff)
downloadserenity-e6079cddc8f185939b49bc0b6b7a8c4a4c09a93a.tar.xz
serenity-e6079cddc8f185939b49bc0b6b7a8c4a4c09a93a.zip
Fix framework doctests
Fixes the following doctests for the changes introduced in commit [f10b9d7]: - client::Client::with_framework - framework::standard::configuration::Configuration::disabled_commands - framework::standard::configuration::Configuration::dynamic_prefix [f10b9d7]: f10b9d77f0b94864fa20688e3c99de6cec7ca6f9
Diffstat (limited to 'src/client')
-rw-r--r--src/client/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs
index e574da3..2980d58 100644
--- a/src/client/mod.rs
+++ b/src/client/mod.rs
@@ -382,9 +382,9 @@ impl Client {
/// .configure(|c| c.prefix("~"))
/// .on("ping", |_, msg, _| {
/// msg.channel_id.say("Pong!")?;
- ///
+ ///
/// Ok(())
- /// ));
+ /// }));
/// # Ok(())
/// # }
/// #