aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorIllia <[email protected]>2017-04-20 00:51:34 +0300
committerZeyla Hellyer <[email protected]>2017-04-19 14:51:34 -0700
commit31aae7d12763f94a7a08ea9fd0102921e8402241 (patch)
tree76e0b54954ee02140ad6bd409a73e16943bda5f8 /src/lib.rs
parentFix example in README (diff)
downloadserenity-31aae7d12763f94a7a08ea9fd0102921e8402241.tar.xz
serenity-31aae7d12763f94a7a08ea9fd0102921e8402241.zip
Update the way errors are handled in dispatch
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index f34a359..70d454a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -30,7 +30,7 @@
//! A basic ping-pong bot looks like:
//!
//! ```rust,ignore
-//! extern crate serenity;
+//! #[macro_use] extern crate serenity;
//!
//! use serenity::client::Client;
//! use std::env;