aboutsummaryrefslogtreecommitdiff
path: root/src/gateway
diff options
context:
space:
mode:
authoracdenisSK <[email protected]>2017-10-01 21:59:33 +0200
committerZeyla Hellyer <[email protected]>2017-10-09 15:46:37 -0700
commit0ce8be869eeb2eb700e22f71b2e00872cc96a500 (patch)
tree03dd981bc04ba8475333d057705820c3320e3a97 /src/gateway
parentHave `ConnectionStage` derive Copy (diff)
downloadserenity-0ce8be869eeb2eb700e22f71b2e00872cc96a500.tar.xz
serenity-0ce8be869eeb2eb700e22f71b2e00872cc96a500.zip
`to_owned` -> `to_string`
Diffstat (limited to 'src/gateway')
-rw-r--r--src/gateway/shard.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gateway/shard.rs b/src/gateway/shard.rs
index b0d10a1..2781e84 100644
--- a/src/gateway/shard.rs
+++ b/src/gateway/shard.rs
@@ -191,7 +191,7 @@ impl Shard {
/// # use serenity::client::gateway::Shard;
/// # use std::sync::{Arc, Mutex};
/// #
- /// # let mutex = Arc::new(Mutex::new("".to_owned()));
+ /// # let mutex = Arc::new(Mutex::new("".to_string()));
/// #
/// # let shard = Shard::new(mutex.clone(), mutex, [1, 2]).unwrap();
/// #
@@ -221,7 +221,7 @@ impl Shard {
/// # use serenity::client::gateway::Shard;
/// # use std::sync::{Arc, Mutex};
/// #
- /// # let mutex = Arc::new(Mutex::new("".to_owned()));
+ /// # let mutex = Arc::new(Mutex::new("".to_string()));
/// #
/// # let mut shard = Shard::new(mutex.clone(), mutex, [0, 1]).unwrap();
/// #
@@ -250,7 +250,7 @@ impl Shard {
/// # use serenity::client::gateway::Shard;
/// # use std::sync::{Arc, Mutex};
/// #
- /// # let mutex = Arc::new(Mutex::new("".to_owned()));
+ /// # let mutex = Arc::new(Mutex::new("".to_string()));
/// #
/// # let mut shard = Shard::new(mutex.clone(), mutex, [0, 1]).unwrap();
/// #
@@ -285,7 +285,7 @@ impl Shard {
/// # use serenity::client::gateway::Shard;
/// # use std::sync::{Arc, Mutex};
/// #
- /// # let mutex = Arc::new(Mutex::new("".to_owned()));
+ /// # let mutex = Arc::new(Mutex::new("".to_string()));
/// #
/// # let mut shard = Shard::new(mutex.clone(), mutex, [0, 1]).unwrap();
/// #
@@ -638,7 +638,7 @@ impl Shard {
/// # use serenity::client::gateway::Shard;
/// # use std::sync::{Arc, Mutex};
/// #
- /// # let mutex = Arc::new(Mutex::new("".to_owned()));
+ /// # let mutex = Arc::new(Mutex::new("".to_string()));
/// #
/// # let mut shard = Shard::new(mutex.clone(), mutex, [0, 1]).unwrap();
/// #
@@ -656,7 +656,7 @@ impl Shard {
/// # use serenity::client::gateway::Shard;
/// # use std::sync::{Arc, Mutex};
/// #
- /// # let mutex = Arc::new(Mutex::new("".to_owned()));
+ /// # let mutex = Arc::new(Mutex::new("".to_string()));
/// #
/// # let mut shard = Shard::new(mutex.clone(), mutex, [0, 1]).unwrap();
/// #
@@ -701,7 +701,7 @@ impl Shard {
/// # use serenity::client::gateway::Shard;
/// # use std::sync::{Arc, Mutex};
/// #
- /// # let mutex = Arc::new(Mutex::new("will anyone read this".to_owned()));
+ /// # let mutex = Arc::new(Mutex::new("will anyone read this".to_string()));
/// #
/// # let shard = Shard::new(mutex.clone(), mutex, [0, 1]).unwrap();
/// #