diff options
| -rw-r--r-- | src/client/mod.rs | 4 | ||||
| -rw-r--r-- | src/framework/standard/configuration.rs | 8 |
2 files changed, 6 insertions, 6 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(()) /// # } /// # diff --git a/src/framework/standard/configuration.rs b/src/framework/standard/configuration.rs index a481c6d..23148e3 100644 --- a/src/framework/standard/configuration.rs +++ b/src/framework/standard/configuration.rs @@ -171,9 +171,9 @@ impl Configuration { /// client.with_framework(StandardFramework::new() /// .on("ping", |_, msg, _| { /// msg.channel_id.say("Pong!")?; - /// + /// /// Ok(()) - /// )) + /// }) /// .configure(|c| c.disabled_commands(disabled))); /// ``` pub fn disabled_commands(mut self, commands: HashSet<String>) -> Self { @@ -203,9 +203,9 @@ impl Configuration { /// client.with_framework(StandardFramework::new() /// .on("ping", |_, msg, _| { /// msg.channel_id.say("Pong!")?; - /// + /// /// Ok(()) - /// )) + /// }) /// .configure(|c| c.dynamic_prefix(|_, msg| { /// Some(if msg.channel_id.0 % 5 == 0 { /// "!" |