Remove debug prints

This commit is contained in:
bitfl0wer 2023-08-16 22:04:43 +02:00
parent ef7261adf9
commit ebe307aa33
No known key found for this signature in database
GPG Key ID: 0ACD574FCF5226CF
1 changed files with 0 additions and 3 deletions

View File

@ -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