diff options
| author | Zeyla Hellyer <[email protected]> | 2018-08-07 09:24:07 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-08-07 09:25:06 -0700 |
| commit | 39bb75cc6759ceb972c0caca0b03c7971a445eb8 (patch) | |
| tree | 343d97399ea597804f0cd30016034c4adb8efebe /src/http | |
| parent | Fix some documentation spacing (diff) | |
| download | serenity-39bb75cc6759ceb972c0caca0b03c7971a445eb8.tar.xz serenity-39bb75cc6759ceb972c0caca0b03c7971a445eb8.zip | |
Fix compilation + tests on certain feature combos
On certain feature combinations, compilation and tests would not function
correctly.
This commit goes through a number of feature combinations and gates some tests
behind the required features and fixes other compilation errors.
Diffstat (limited to 'src/http')
| -rw-r--r-- | src/http/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/mod.rs b/src/http/mod.rs index 51d89aa..d9454c2 100644 --- a/src/http/mod.rs +++ b/src/http/mod.rs @@ -601,7 +601,7 @@ pub fn delete_role(guild_id: u64, role_id: u64) -> Result<()> { /// Deletes a webhook given its Id: /// /// ```rust,no_run -/// use serenity::{Client, http}; +/// use serenity::http; /// use std::env; /// /// // Due to the `delete_webhook` function requiring you to authenticate, you |