aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIllia <[email protected]>2017-01-05 00:03:27 +0300
committerIllia <[email protected]>2017-01-05 00:03:27 +0300
commit3348178f151d8e1d7aa0432984a2dd23fa7b9e89 (patch)
tree1349dd7d6849bfc12da9fb064cea4a22a5613c09 /src
parentSimplify a small bit of Context (diff)
downloadserenity-3348178f151d8e1d7aa0432984a2dd23fa7b9e89.tar.xz
serenity-3348178f151d8e1d7aa0432984a2dd23fa7b9e89.zip
Fix rs suffix
Diffstat (limited to 'src')
-rw-r--r--src/client/login_type.rs2
-rw-r--r--src/client/mod.rs2
-rw-r--r--src/constants.rs2
-rw-r--r--src/lib.rs8
-rw-r--r--src/utils/builder/execute_webhook.rs2
-rw-r--r--src/utils/builder/search.rs2
6 files changed, 9 insertions, 9 deletions
diff --git a/src/client/login_type.rs b/src/client/login_type.rs
index 468ead5..4eae5e2 100644
--- a/src/client/login_type.rs
+++ b/src/client/login_type.rs
@@ -7,7 +7,7 @@
/// Use [`User`] if you are creating a selfbot which responds only to you.
///
/// [`Bot`]: #variant.Bot
-/// [`README`]: https://github.com/zeyla/serenity.rs/blob/master/README.md#Bots
+/// [`README`]: https://github.com/zeyla/serenity/blob/master/README.md#Bots
/// [`User`]: #variant.User
/// [applications page]: https://discordapp.com/developers/applications/me
#[derive(Copy, Clone, Hash, Eq, PartialEq, Debug, Ord, PartialOrd)]
diff --git a/src/client/mod.rs b/src/client/mod.rs
index 48a38ed..8a015f9 100644
--- a/src/client/mod.rs
+++ b/src/client/mod.rs
@@ -165,7 +165,7 @@ pub struct Client {
/// Refer to [example 06] for an example on using the `data` field.
///
/// [`Context::data`]: struct.Context.html#method.data
- /// [example 06]: https://github.com/zeyla/serenity.rs/tree/master/examples/06_command_framework
+ /// [example 06]: https://github.com/zeyla/serenity/tree/master/examples/06_command_framework
pub data: Arc<Mutex<ShareMap>>,
/// A vector of all active shards that have received their [`Event::Ready`]
/// payload, and have dispatched to [`on_ready`] if an event handler was
diff --git a/src/constants.rs b/src/constants.rs
index bb2589a..cf3cf0b 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -6,7 +6,7 @@ pub const MESSAGE_CODE_LIMIT: u16 = 2000;
/// The [UserAgent] sent along with every request.
///
/// [UserAgent]: ../hyper/header/struct.UserAgent.html
-pub const USER_AGENT: &'static str = concat!("DiscordBot (https://github.com/zeyla/serenity.rs, ", env!("CARGO_PKG_VERSION"), ")");
+pub const USER_AGENT: &'static str = concat!("DiscordBot (https://github.com/zeyla/serenity, ", env!("CARGO_PKG_VERSION"), ")");
#[allow(dead_code)]
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
diff --git a/src/lib.rs b/src/lib.rs
index 58c3b42..294aebd 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -84,7 +84,7 @@
//!
//! ```toml
//! [dependencies.serenity]
-//! git = "https://github.com/zeyla/serenity.rs.git"
+//! git = "https://github.com/zeyla/serenity.git"
//! default-features = false
//! features = ["pick", "your", "feature", "names", "here"]
//! ```
@@ -135,16 +135,16 @@
//! [`Event`]: model/event/enum.Event.html
//! [`Event::MessageCreate`]: model/event/enum.Event.html#variant.MessageCreate
//! [`Shard`]: client/struct.Shard.html
-//! [`examples`]: https://github.com/zeyla/serenity.rs.git/blob/master/examples
+//! [`examples`]: https://github.com/zeyla/serenity.git/blob/master/examples
//! [`rest`]: client/rest/index.html
//! [`validate_token`]: client/fn.validate_token.html
//! [cache docs]: ext/cache/index.html
//! [client's module-level documentation]: client/index.html
//! [docs]: https://discordapp.com/developers/docs/intro
-//! [examples]: https://github.com/zeyla/serenity.rs/tree/master/examples
+//! [examples]: https://github.com/zeyla/serenity/tree/master/examples
//! [gateway docs]: client/gateway/index.html
#![allow(doc_markdown, inline_always, unknown_lints)]
-#![doc(html_logo_url = "https://docs.austinhellyer.me/serenity.rs/docs_header.png")]
+#![doc(html_logo_url = "https://docs.austinhellyer.me/serenity/docs_header.png")]
#![warn(enum_glob_use, if_not_else)]
#[macro_use]
diff --git a/src/utils/builder/execute_webhook.rs b/src/utils/builder/execute_webhook.rs
index c45b1c0..9da701f 100644
--- a/src/utils/builder/execute_webhook.rs
+++ b/src/utils/builder/execute_webhook.rs
@@ -105,7 +105,7 @@ impl Default for ExecuteWebhook {
///
/// The only default value is [`tts`] being set to `true`. In the event that
/// there is a bug that Discord defaults `tts` to `true`, at least
- /// serenity.rs won't be a part of it.
+ /// serenity won't be a part of it.
///
/// [`Webhook`]: ../../model/struct.Webhook.html
/// [`tts`]: #method.tts
diff --git a/src/utils/builder/search.rs b/src/utils/builder/search.rs
index cf61bed..c0a7499 100644
--- a/src/utils/builder/search.rs
+++ b/src/utils/builder/search.rs
@@ -187,7 +187,7 @@ impl SortingOrder {
/// [`limit`]: #method.limit
/// [`offset`]: #method.offset
/// [`sort_by`]: #method.sort_by
-/// [example 08]: https://github.com/zeyla/serenity.rs/tree/master/examples/08_search
+/// [example 08]: https://github.com/zeyla/serenity/tree/master/examples/08_search
pub struct Search<'a>(pub BTreeMap<&'a str, String>);
impl<'a> Search<'a> {