Remove debug prints
This commit is contained in:
parent
ef7261adf9
commit
ebe307aa33
|
@ -42,9 +42,6 @@ impl UpdateMessage<Channel> for ChannelUpdate {
|
||||||
fn update(&mut self, object_to_update: Arc<RwLock<Channel>>) {
|
fn update(&mut self, object_to_update: Arc<RwLock<Channel>>) {
|
||||||
let mut write = object_to_update.write().unwrap();
|
let mut write = object_to_update.write().unwrap();
|
||||||
*write = self.channel.clone();
|
*write = self.channel.clone();
|
||||||
drop(write);
|
|
||||||
println!("{:?}", self.channel.name);
|
|
||||||
assert_eq!(self.channel.name, object_to_update.read().unwrap().name);
|
|
||||||
}
|
}
|
||||||
fn id(&self) -> Snowflake {
|
fn id(&self) -> Snowflake {
|
||||||
self.channel.id
|
self.channel.id
|
||||||
|
|
Loading…
Reference in New Issue