diff options
| author | Maiddog <[email protected]> | 2017-06-03 16:33:46 -0500 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-06-03 14:33:46 -0700 |
| commit | c00f3490f2fb0c045c2da72d850f70da8e2cdb95 (patch) | |
| tree | dc249377dae54eaac823d82c0764c314ba653cdd /src/builder/edit_guild.rs | |
| parent | Fix compilations across feature combinations (diff) | |
| download | serenity-c00f3490f2fb0c045c2da72d850f70da8e2cdb95.tar.xz serenity-c00f3490f2fb0c045c2da72d850f70da8e2cdb95.zip | |
Add some model docs, deprecate Role::edit_role
Deprecate `Role::edit_role` and rename it to `Role::edit`.
Diffstat (limited to 'src/builder/edit_guild.rs')
| -rw-r--r-- | src/builder/edit_guild.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/builder/edit_guild.rs b/src/builder/edit_guild.rs index c01b8ea..e74e54e 100644 --- a/src/builder/edit_guild.rs +++ b/src/builder/edit_guild.rs @@ -2,14 +2,13 @@ use ::internal::prelude::*; use ::model::{ChannelId, Region, UserId, VerificationLevel}; /// A builder to optionally edit certain fields of a [`Guild`]. This is meant -/// for usage with [`Context::edit_guild`] and [`LiveGuild::edit`]. +/// for usage with [`Guild::edit`]. /// /// **Note**: Editing a guild requires that the current user have the /// [Manage Guild] permission. /// -/// [`Context::edit_guild`]: ../client/struct.Context.html +/// [`Guild::edit`]: ../model/struct.Guild.html#method.edit /// [`Guild`]: ../model/struct.Guild.html -/// [`LiveGuild::edit`]: ../model/struct.LiveGuild.html#method.edit /// [Manage Guild]: ../model/permissions/constant.MANAGE_GUILD.html #[derive(Clone, Debug, Default)] pub struct EditGuild(pub Map<String, Value>); |