diff options
| author | Zeyla Hellyer <[email protected]> | 2017-11-18 11:40:06 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-11-18 11:40:06 -0800 |
| commit | e6079cddc8f185939b49bc0b6b7a8c4a4c09a93a (patch) | |
| tree | c58ebb9d95b721dcf3d0afb8e0f5a50a46041508 /src/client | |
| parent | Add `cmd` to `Create(Command|Group)` (diff) | |
| download | serenity-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.rs | 4 |
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(()) /// # } /// # |