aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-07-31 17:04:55 -0700
committerZeyla Hellyer <[email protected]>2018-07-31 17:05:27 -0700
commit01e3c331ed188e2b95bafa2fa0fc63d5c0c03905 (patch)
tree0c776eeae989a1292cc5159706a8840d306d08c9 /src/client
parentMake GuildId::member use the cache when possible (#356) (diff)
downloadserenity-01e3c331ed188e2b95bafa2fa0fc63d5c0c03905.tar.xz
serenity-01e3c331ed188e2b95bafa2fa0fc63d5c0c03905.zip
Deprecate Context::edit_profile
This method won't exist in v0.6.x.
Diffstat (limited to 'src/client')
-rw-r--r--src/client/context.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/context.rs b/src/client/context.rs
index d581ffb..c72818c 100644
--- a/src/client/context.rs
+++ b/src/client/context.rs
@@ -87,6 +87,7 @@ impl Context {
/// client.start().unwrap();
/// ```
#[cfg(feature = "builder")]
+ #[deprecated(since = "0.5.6", note = "Use the http module instead.")]
pub fn edit_profile<F: FnOnce(EditProfile) -> EditProfile>(&self, f: F) -> Result<CurrentUser> {
let mut map = VecMap::with_capacity(2);