aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-08-07 09:40:40 -0700
committerZeyla Hellyer <[email protected]>2018-08-07 09:40:40 -0700
commitea4855154fd7f96ac0d174d3c917408e6527db8b (patch)
tree21bf11b1b05b57071206406c2cb1c3cb30b2429c /src
parentFix compilation + tests on certain feature combos (diff)
downloadserenity-ea4855154fd7f96ac0d174d3c917408e6527db8b.tar.xz
serenity-ea4855154fd7f96ac0d174d3c917408e6527db8b.zip
Fix a usage of a private function in a test
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");