Skip to content

Commit

Permalink
Deprecate Context::edit_profile
Browse files Browse the repository at this point in the history
This method won't exist in v0.6.x.
  • Loading branch information
Zeyla Hellyer committed Aug 1, 2018
1 parent 21eb42f commit 01e3c33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 01e3c33

Please sign in to comment.