aboutsummaryrefslogtreecommitdiff
path: root/src/utils/builder/edit_profile.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-02-15 09:27:39 -0800
committerZeyla Hellyer <[email protected]>2017-02-15 09:27:39 -0800
commit1787e00eab126680932076e24ac820cad0bfc383 (patch)
tree54aab4f5dc5a1f211a76af4272d1b983cc049a84 /src/utils/builder/edit_profile.rs
parentUpdate README for `methods` feature removal (diff)
downloadserenity-1787e00eab126680932076e24ac820cad0bfc383.tar.xz
serenity-1787e00eab126680932076e24ac820cad0bfc383.zip
Update doctests for Context changes
Due to the Context having many methods removed, the doctests were failing. Update the doctests to use alternative methods to accomplish the same. Example: Before: ```rust context.say("hi"); ``` After: ```rust message.channel_id.say("hi") ```
Diffstat (limited to 'src/utils/builder/edit_profile.rs')
-rw-r--r--src/utils/builder/edit_profile.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/builder/edit_profile.rs b/src/utils/builder/edit_profile.rs
index 4d25f00..83f1da2 100644
--- a/src/utils/builder/edit_profile.rs
+++ b/src/utils/builder/edit_profile.rs
@@ -22,7 +22,7 @@ impl EditProfile {
/// ```rust,ignore
/// use serenity::utils;
///
- /// // assuming you are in a context
+ /// // assuming a `context` has been bound
///
/// let base64 = utils::read_image("./my_image.jpg")
/// .expect("Failed to read image");