diff options
| author | Maiddog <[email protected]> | 2018-03-18 06:02:00 -0500 |
|---|---|---|
| committer | alex <[email protected]> | 2018-03-18 12:02:00 +0100 |
| commit | 003dc2eed0f09cd214373f1581b7794d1483a689 (patch) | |
| tree | 9f66622ed84e27384c7b8eee536c875520562c90 /src/framework/standard/configuration.rs | |
| parent | Remove useless clones (#292) (diff) | |
| download | serenity-003dc2eed0f09cd214373f1581b7794d1483a689.tar.xz serenity-003dc2eed0f09cd214373f1581b7794d1483a689.zip | |
Add no_run to doctests that initialize a Client (#293)
Diffstat (limited to 'src/framework/standard/configuration.rs')
| -rw-r--r-- | src/framework/standard/configuration.rs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/framework/standard/configuration.rs b/src/framework/standard/configuration.rs index d54a821..bcb0119 100644 --- a/src/framework/standard/configuration.rs +++ b/src/framework/standard/configuration.rs @@ -96,7 +96,7 @@ impl Configuration { /// /// Create a HashSet in-place: /// - /// ```rust + /// ```rust,no_run /// # use serenity::prelude::*; /// # struct Handler; /// # @@ -121,7 +121,7 @@ impl Configuration { /// /// Create a HashSet in-place: /// - /// ```rust + /// ```rust,no_run /// # use serenity::prelude::*; /// # struct Handler; /// # @@ -159,7 +159,7 @@ impl Configuration { /// /// Ignore a set of commands, assuming they exist: /// - /// ```rust + /// ```rust,no_run /// # use serenity::prelude::*; /// # struct Handler; /// # @@ -282,7 +282,7 @@ impl Configuration { /// /// Create a HashSet in-place: /// - /// ```rust + /// ```rust,no_run /// # use serenity::prelude::*; /// # struct Handler; /// # @@ -297,7 +297,7 @@ impl Configuration { /// /// Create a HashSet beforehand: /// - /// ```rust + /// ```rust,no_run /// # use serenity::prelude::*; /// # struct Handler; /// # @@ -326,7 +326,7 @@ impl Configuration { /// /// Assign a basic prefix: /// - /// ```rust + /// ```rust,no_run /// # use serenity::prelude::*; /// # struct Handler; /// # @@ -351,7 +351,7 @@ impl Configuration { /// /// Assign a set of prefixes the bot can respond to: /// - /// ```rust + /// ```rust,no_run /// # use serenity::prelude::*; /// # struct Handler; /// # @@ -375,7 +375,7 @@ impl Configuration { /// /// Have the args be seperated by a comma and a space: /// - /// ```rust + /// ```rust,no_run /// # use serenity::prelude::*; /// # struct Handler; /// # @@ -400,7 +400,7 @@ impl Configuration { /// /// Have the args be seperated by a comma and a space; and a regular space: /// - /// ```rust + /// ```rust,no_run /// # use serenity::prelude::*; /// # struct Handler; /// # |