diff options
| author | Perry Fraser <[email protected]> | 2018-10-01 16:38:07 -0400 |
|---|---|---|
| committer | zeyla <[email protected]> | 2018-10-01 13:38:07 -0700 |
| commit | 9865d9ccd727a7f6c5c9a6094b87af0f6353831b (patch) | |
| tree | b9d13d1ff517347da19d198b257481fffbbb68db /src/model | |
| parent | Change DOS line endings to UNIX line endings (diff) | |
| download | serenity-9865d9ccd727a7f6c5c9a6094b87af0f6353831b.tar.xz serenity-9865d9ccd727a7f6c5c9a6094b87af0f6353831b.zip | |
A bunch of typo fixes (#404)
Diffstat (limited to 'src/model')
| -rw-r--r-- | src/model/invite.rs | 4 | ||||
| -rw-r--r-- | src/model/permissions.rs | 2 | ||||
| -rw-r--r-- | src/model/user.rs | 2 |
3 files changed, 4 insertions, 4 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. diff --git a/src/model/permissions.rs b/src/model/permissions.rs index 784071e..b318416 100644 --- a/src/model/permissions.rs +++ b/src/model/permissions.rs @@ -9,7 +9,7 @@ //! presets are available. These are [`PRESET_GENERAL`], [`PRESET_TEXT`], and //! [`PRESET_VOICE`]. //! -//! Permissions follow a heirarchy: +//! Permissions follow a hierarchy: //! //! - An account can grant roles to users that are of a lower position than //! its highest role; diff --git a/src/model/user.rs b/src/model/user.rs index 694f098..1e90cb4 100644 --- a/src/model/user.rs +++ b/src/model/user.rs @@ -612,7 +612,7 @@ impl User { /// /// # Examples /// - /// If maintaing a very long-running bot, you may want to periodically + /// If maintaining a very long-running bot, you may want to periodically /// refresh information about certain users if the state becomes /// out-of-sync: /// |