aboutsummaryrefslogtreecommitdiff
path: root/README.md
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 /README.md
parentMove the example in the readme (diff)
downloadserenity-46a200ba55a5a437164c897a59a86709777b09d8.tar.xz
serenity-46a200ba55a5a437164c897a59a86709777b09d8.zip
Update readme example
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 36b0c9d..f3778a0 100644
--- a/README.md
+++ b/README.md
@@ -55,7 +55,7 @@ fn main() {
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!");
}
```