diff options
| author | acdenisSK <[email protected]> | 2017-10-01 21:59:33 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-10-01 22:14:23 +0200 |
| commit | 1bf4d9cb9823dca8c4bb77147c66eac2d53f609f (patch) | |
| tree | ba14ca714fa7bc1e6ba1d26f10e7c170bdf10ffa /src/gateway/shard.rs | |
| parent | Have `ConnectionStage` derive Copy (diff) | |
| download | serenity-1bf4d9cb9823dca8c4bb77147c66eac2d53f609f.tar.xz serenity-1bf4d9cb9823dca8c4bb77147c66eac2d53f609f.zip | |
`to_owned` -> `to_string`
Diffstat (limited to 'src/gateway/shard.rs')
| -rw-r--r-- | src/gateway/shard.rs | 14 |
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(); /// # |