aboutsummaryrefslogtreecommitdiff
path: root/src/framework
diff options
context:
space:
mode:
authorPerry Fraser <[email protected]>2018-06-09 11:24:56 -0400
committerAlex M. M <[email protected]>2018-06-09 17:24:56 +0200
commitd0d363fb2a3475c68d40b02ec22ab728059fd55e (patch)
tree2a0ac51198c835ca425b85b8fd85aa6827b74353 /src/framework
parentAdd the missing `rest` method (diff)
downloadserenity-d0d363fb2a3475c68d40b02ec22ab728059fd55e.tar.xz
serenity-d0d363fb2a3475c68d40b02ec22ab728059fd55e.zip
Fix typo (#328)
Diffstat (limited to 'src/framework')
-rw-r--r--src/framework/standard/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framework/standard/mod.rs b/src/framework/standard/mod.rs
index 83ae765..d769d02 100644
--- a/src/framework/standard/mod.rs
+++ b/src/framework/standard/mod.rs
@@ -715,7 +715,7 @@ impl StandardFramework {
///
/// ```rust,ignore
/// framework.command("ping", |c| c
- /// .description("Responds with 'pong'.")
+ /// .desc("Responds with 'pong'.")
/// .exec(|ctx, _, _| {
/// let _ = ctx.say("pong");
/// }));