diff options
| -rw-r--r-- | examples/03_struct_utilities/src/main.rs | 9 | ||||
| -rw-r--r-- | examples/06_command_framework/src/main.rs | 5 | ||||
| -rw-r--r-- | examples/07_voice/src/main.rs | 2 | ||||
| -rw-r--r-- | examples/08_search/src/main.rs | 6 |
4 files changed, 7 insertions, 15 deletions
diff --git a/examples/03_struct_utilities/src/main.rs b/examples/03_struct_utilities/src/main.rs index 4c3a0bb..76ff75d 100644 --- a/examples/03_struct_utilities/src/main.rs +++ b/examples/03_struct_utilities/src/main.rs @@ -1,12 +1,3 @@ -//! Requires the 'methods' feature flag be enabled in your project's Cargo.toml. -//! -//! This can be activated by specifying the feature in the dependency section: -//! -//! ```toml -//! [dependencies.serenity] -//! git = "https://github.com/zeyla/serenity.git" -//! ``` - extern crate serenity; use serenity::Client; diff --git a/examples/06_command_framework/src/main.rs b/examples/06_command_framework/src/main.rs index 1eb1b05..071ecdc 100644 --- a/examples/06_command_framework/src/main.rs +++ b/examples/06_command_framework/src/main.rs @@ -1,6 +1,7 @@ -//! Requires the 'methods' feature flag be enabled in your project's Cargo.toml. +//! Requires the 'framework' feature flag be enabled in your project's +//! `Cargo.toml`. //! -//! This can be activated by specifying the feature in the dependency section: +//! This can be enabled by specifying the feature in the dependency section: //! //! ```toml //! [dependencies.serenity] diff --git a/examples/07_voice/src/main.rs b/examples/07_voice/src/main.rs index 834cb13..57293f8 100644 --- a/examples/07_voice/src/main.rs +++ b/examples/07_voice/src/main.rs @@ -3,7 +3,7 @@ //! //! ```toml //! [dependencies.serenity] -//! version = "*" +//! git = "https://github.com/zeyla/serenity.git" //! features = ["cache", "framework", "voice"] //! ``` diff --git a/examples/08_search/src/main.rs b/examples/08_search/src/main.rs index 72059f6..a7a68b5 100644 --- a/examples/08_search/src/main.rs +++ b/examples/08_search/src/main.rs @@ -1,9 +1,9 @@ -//! Requires the "cache", "methods", and "voice" features be enabled in your -//! Cargo.toml, like so: +//! Requires the "cache" and "framework" features be enabled in your +//! `Cargo.toml`, like so: //! //! ```toml //! [dependencies.serenity] -//! version = "*" +//! git = "https://github.com/zeyla/serenity.git" //! features = ["cache", "framework"] //! ``` //! |