diff options
| author | Lakelezz <[email protected]> | 2018-04-14 11:02:02 +0200 |
|---|---|---|
| committer | alex <[email protected]> | 2018-04-14 11:02:02 +0200 |
| commit | e506e9f30584d0fd67bf28a33b1033c4f1e5cd8b (patch) | |
| tree | 014a5a0288940743d0c41f27964c93e86a0611ca /src/utils | |
| parent | make `Options`'s fields optional (#305) (diff) | |
| download | serenity-e506e9f30584d0fd67bf28a33b1033c4f1e5cd8b.tar.xz serenity-e506e9f30584d0fd67bf28a33b1033c4f1e5cd8b.zip | |
Fix typo'd word `retrieve` (#307)
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utils/mod.rs b/src/utils/mod.rs index 002f33f..c48432e 100644 --- a/src/utils/mod.rs +++ b/src/utils/mod.rs @@ -150,7 +150,7 @@ pub fn parse_invite(code: &str) -> &str { } } -/// Retreives an Id from a user mention. +/// Retrieves an Id from a user mention. /// /// If the mention is invalid, then `None` is returned. /// @@ -194,7 +194,7 @@ pub fn parse_username(mention: &str) -> Option<u64> { } } -/// Retreives an Id from a role mention. +/// Retrieves an Id from a role mention. /// /// If the mention is invalid, then `None` is returned. /// @@ -230,7 +230,7 @@ pub fn parse_role(mention: &str) -> Option<u64> { } } -/// Retreives an Id from a channel mention. +/// Retrieves an Id from a channel mention. /// /// If the channel mention is invalid, then `None` is returned. /// @@ -267,7 +267,7 @@ pub fn parse_channel(mention: &str) -> Option<u64> { } } -/// Retreives the name and Id from an emoji mention, in the form of an +/// Retrieves the name and Id from an emoji mention, in the form of an /// `EmojiIdentifier`. /// /// If the emoji usage is invalid, then `None` is returned. |