aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-03-25 16:58:28 -0700
committerZeyla Hellyer <[email protected]>2017-03-25 16:58:28 -0700
commit5356cff3aff5304d41e356da580957d5af038573 (patch)
tree7bbb1bd703eed3517e2f5d41bc290a64eb1c2f62 /src
parentUpdate search params (diff)
downloadserenity-5356cff3aff5304d41e356da580957d5af038573.tar.xz
serenity-5356cff3aff5304d41e356da580957d5af038573.zip
Fix tests
Diffstat (limited to 'src')
-rw-r--r--src/ext/framework/help_commands.rs3
-rw-r--r--src/lib.rs1
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ext/framework/help_commands.rs b/src/ext/framework/help_commands.rs
index 9f193ec..4f16773 100644
--- a/src/ext/framework/help_commands.rs
+++ b/src/ext/framework/help_commands.rs
@@ -6,12 +6,13 @@
//! embeds:
//!
//! ```rs,no_run
+//! use serenity::ext::framework::help_commands;
//! use serenity::Client;
//! use std::env;
//!
//! let mut client = Client::login_bot(&env::var("DISCORD_TOKEN").unwrap());
//! client.with_framework(|f| f
-//! .command("help", |c| c.exec(help_commands::with_embeds)));
+//! .command("help", |c| c.exec_help(help_commands::with_embeds)));
//! ```
//!
//! The same can be accomplished with no embeds by substituting `with_embeds`
diff --git a/src/lib.rs b/src/lib.rs
index 40058ac..59b4acf 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -87,7 +87,6 @@
//! [examples]: https://github.com/zeyla/serenity/tree/master/examples
//! [gateway docs]: client/gateway/index.html
#![allow(doc_markdown, inline_always, unknown_lints)]
-#![warn(missing_docs)]
#![doc(html_logo_url="https://docs.austinhellyer.me/serenity/docs_header.png")]
#![warn(enum_glob_use, if_not_else)]