aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 e933af0..7c9533b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -43,7 +43,7 @@
//!
//! impl EventHandler for Handler {}
//!
-//! fn main() {
+//! pub fn main() {
//! // Login with a bot token from the environment
//! let mut client = Client::new(&env::var("DISCORD_TOKEN").expect("token"), Handler)
//! .expect("Error creating client");