Remove dbg! macro

This commit is contained in:
Ryan 2022-10-16 04:13:10 -07:00
parent ad153159dd
commit 0e58bfbb77
3 changed files with 3 additions and 2 deletions

View file

@ -1100,7 +1100,7 @@ impl<C: Config> Client<C> {
face: p.face,
cursor_pos: p.cursor_pos,
head_inside_block: p.head_inside_block,
sequence: dbg!(p.sequence),
sequence: p.sequence,
}),
C2sPlayPacket::UseItem(_) => {}
}

View file

@ -86,6 +86,7 @@
clippy::unusual_byte_groupings,
clippy::comparison_chain
)]
#![deny(clippy::dbg_macro)]
/// Used on [`Config`](config::Config) to allow for async methods in traits.
///

View file

@ -31,7 +31,7 @@ impl SpatialIndex {
/// This is for tests only! Not part of the public API.
#[doc(hidden)]
pub fn test_new() -> Self {
dbg!("Don't call me from outside tests!");
eprintln!("Don't call me from outside tests!");
Self::new()
}