aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-09-13 10:29:10 -0700
committerZeyla Hellyer <[email protected]>2018-09-13 10:29:10 -0700
commit069daef17ba7bc9241f4170f678e2a236cd51d7f (patch)
treeee0831f90b3bb1d9c9cc475907ab00a798db28c4 /src
parentRevert "Old message on update (#368)" (diff)
downloadserenity-069daef17ba7bc9241f4170f678e2a236cd51d7f.tar.xz
serenity-069daef17ba7bc9241f4170f678e2a236cd51d7f.zip
Change default branch to 'current'
The default branch of 'master' has a few issues, but the biggest technical issue is that it doesn't accurately represent the development work done on it by name alone: is it the branch for maintaining the "current" released version, or for the development of the next majour version? In certain Rust projects these are combined into one branch, but we don't do this, so this is one way out of the ambiguity.
Diffstat (limited to 'src')
-rw-r--r--src/client/mod.rs2
-rw-r--r--src/lib.rs4
-rw-r--r--src/utils/vec_map.rs4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs
index 49061a5..beb4f28 100644
--- a/src/client/mod.rs
+++ b/src/client/mod.rs
@@ -174,7 +174,7 @@ pub struct Client {
/// [`Event::MessageDelete`]: ../model/event/enum.Event.html#variant.MessageDelete
/// [`Event::MessageDeleteBulk`]: ../model/event/enum.Event.html#variant.MessageDeleteBulk
/// [`Event::MessageUpdate`]: ../model/event/enum.Event.html#variant.MessageUpdate
- /// [example 05]: https://github.com/serenity-rs/serenity/tree/master/examples/05_command_framework
+ /// [example 05]: https://github.com/serenity-rs/serenity/tree/current/examples/05_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/lib.rs b/src/lib.rs
index 0971092..3dc88cc 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -97,11 +97,11 @@
//! [`Event`]: model/event/enum.Event.html
//! [`Event::MessageCreate`]: model/event/enum.Event.html#variant.MessageCreate
//! [`Shard`]: gateway/struct.Shard.html
-//! [`examples`]: https://github.com/serenity-rs/serenity/blob/master/examples
+//! [`examples`]: https://github.com/serenity-rs/serenity/blob/current/examples
//! [cache docs]: cache/index.html
//! [client's module-level documentation]: client/index.html
//! [docs]: https://discordapp.com/developers/docs/intro
-//! [examples]: https://github.com/serenity-rs/serenity/tree/master/examples
+//! [examples]: https://github.com/serenity-rs/serenity/tree/current/examples
//! [gateway docs]: gateway/index.html
#![doc(html_root_url = "https://docs.rs/serenity/*")]
#![allow(unknown_lints)]
diff --git a/src/utils/vec_map.rs b/src/utils/vec_map.rs
index d02d659..f910a2e 100644
--- a/src/utils/vec_map.rs
+++ b/src/utils/vec_map.rs
@@ -1,5 +1,5 @@
-// Most of this is
-// shamelessly copied from https://github.com/hyperium/hyper/blob/master/src/header/internals/vec_map.rs
+// Most of this is shamelessly copied from
+// <https://github.com/hyperium/hyper/blob/4351ed1d13e6f66b8dd3ef9f2b74776d02752ed7/src/header/internals/vec_map.rs>
/// Like `HashMap` but solely uses a vector instead.
///