aboutsummaryrefslogtreecommitdiff
path: root/src/http
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/http
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/http')
-rw-r--r--src/http/ratelimiting.rs4
-rw-r--r--src/http/raw.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/http/ratelimiting.rs b/src/http/ratelimiting.rs
index 5edb6ee..7713b27 100644
--- a/src/http/ratelimiting.rs
+++ b/src/http/ratelimiting.rs
@@ -68,7 +68,7 @@ lazy_static! {
/// prior to every request, to abide by Discord's global ratelimit.
///
/// The global ratelimit is the total number of requests that may be made
- /// across the entirity of the API within an amount of time. If this is
+ /// across the entirety of the API within an amount of time. If this is
/// reached, then the global mutex is unlocked for the amount of time
/// present in the "Retry-After" header.
///
@@ -82,7 +82,7 @@ lazy_static! {
/// The routes mutex is a HashMap of each [`Route`] and their respective
/// ratelimit information.
///
- /// See the documentation for [`RateLimit`] for more infomation on how the
+ /// See the documentation for [`RateLimit`] for more information on how the
/// library handles ratelimiting.
///
/// # Examples
diff --git a/src/http/raw.rs b/src/http/raw.rs
index f4b4cf0..b4a9cc9 100644
--- a/src/http/raw.rs
+++ b/src/http/raw.rs
@@ -413,7 +413,7 @@ pub fn delete_guild(guild_id: u64) -> Result<PartialGuild> {
})
}
-/// Remvoes an integration from a guild.
+/// Removes an integration from a guild.
pub fn delete_guild_integration(guild_id: u64, integration_id: u64) -> Result<()> {
wind(204, Request {
body: None,