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_profile.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_profile.rs')
| -rw-r--r-- | src/builder/edit_profile.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/builder/edit_profile.rs b/src/builder/edit_profile.rs index a4b5c99..2d4df85 100644 --- a/src/builder/edit_profile.rs +++ b/src/builder/edit_profile.rs @@ -1,9 +1,9 @@ use ::internal::prelude::*; /// A builder to edit the current user's settings, to be used in conjunction -/// with [`Context::edit_profile`]. +/// with [`CurrentUser::edit`]. /// -/// [`Context::edit_profile`]: ../client/struct.Context.html#method.edit_profile +/// [`CurrentUser::edit`]: ../model/struct.CurrentUser.html#method.edit #[derive(Clone, Debug, Default)] pub struct EditProfile(pub JsonMap); |