aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/utils/mod.rs8
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.