aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-11-30 07:19:22 -0800
committerAustin Hellyer <[email protected]>2016-11-30 07:19:22 -0800
commit46a200ba55a5a437164c897a59a86709777b09d8 (patch)
tree6283e938c76652d3941e37e2f4a15ef5bb4e0753 /src
parentMove the example in the readme (diff)
downloadserenity-46a200ba55a5a437164c897a59a86709777b09d8.tar.xz
serenity-46a200ba55a5a437164c897a59a86709777b09d8.zip
Update readme example
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9e0068b..bafc24c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -51,7 +51,7 @@
//! let _ = client.start();
//! }
//!
-//! fn ping(_context: Context, message: Message, _args: Vec<String>) {
+//! fn ping(_context: &Context, message: &Message, _args: Vec<String>) {
//! let _ = message.reply("Pong!");
//! }
//! ```