aboutsummaryrefslogtreecommitdiff
path: root/src/model/invite.rs
diff options
context:
space:
mode:
authorPerry Fraser <[email protected]>2018-10-01 16:38:07 -0400
committerzeyla <[email protected]>2018-10-01 13:38:07 -0700
commit9865d9ccd727a7f6c5c9a6094b87af0f6353831b (patch)
treeb9d13d1ff517347da19d198b257481fffbbb68db /src/model/invite.rs
parentChange DOS line endings to UNIX line endings (diff)
downloadserenity-9865d9ccd727a7f6c5c9a6094b87af0f6353831b.tar.xz
serenity-9865d9ccd727a7f6c5c9a6094b87af0f6353831b.zip
A bunch of typo fixes (#404)
Diffstat (limited to 'src/model/invite.rs')
-rw-r--r--src/model/invite.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/invite.rs b/src/model/invite.rs
index a6aa756..b391f9b 100644
--- a/src/model/invite.rs
+++ b/src/model/invite.rs
@@ -162,7 +162,7 @@ impl Invite {
pub fn url(&self) -> String { format!("https://discord.gg/{}", self.code) }
}
-/// A inimal information about the channel an invite points to.
+/// A minimal information about the channel an invite points to.
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct InviteChannel {
pub id: ChannelId,
@@ -253,7 +253,7 @@ pub struct RichInvite {
pub max_age: u64,
/// The maximum number of times that an invite may be used before it expires.
- /// Note that this does not supercede the [`max_age`] value, if the value of
+ /// Note that this does not supersede the [`max_age`] value, if the value of
/// [`temporary`] is `true`. If the value of `temporary` is `false`, then the
/// invite _will_ self-expire after the given number of max uses.