aboutsummaryrefslogtreecommitdiff
path: root/src/framework/standard/create_command.rs
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-11-16 16:59:05 +0100
committeracdenisSK <[email protected]>2017-11-16 16:59:05 +0100
commitd930758c09cf3f7d56a50f941a6b526dee288e9b (patch)
treedff088597c58860f999c4a3f7eb82cc5cb3dba1b /src/framework/standard/create_command.rs
parentDocument that application owners bypass checks (#218) (diff)
downloadserenity-d930758c09cf3f7d56a50f941a6b526dee288e9b.tar.xz
serenity-d930758c09cf3f7d56a50f941a6b526dee288e9b.zip
Fix doc-tests
Diffstat (limited to 'src/framework/standard/create_command.rs')
-rw-r--r--src/framework/standard/create_command.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framework/standard/create_command.rs b/src/framework/standard/create_command.rs
index d083300..e5c9208 100644
--- a/src/framework/standard/create_command.rs
+++ b/src/framework/standard/create_command.rs
@@ -65,7 +65,7 @@ impl CreateCommand {
/// }
///
/// fn owner_check(_context: &mut Context, message: &Message, _: &mut Args, _:
- /// &Arc<CommandOptions>) -> bool {
+ /// &CommandOptions) -> bool {
/// // replace with your user ID
/// message.author.id == 7
/// }