mirror of
https://github.com/italicsjenga/valence.git
synced 2025-01-11 07:11:30 +11:00
Remove dbg! macro
This commit is contained in:
parent
ad153159dd
commit
0e58bfbb77
|
@ -1100,7 +1100,7 @@ impl<C: Config> Client<C> {
|
||||||
face: p.face,
|
face: p.face,
|
||||||
cursor_pos: p.cursor_pos,
|
cursor_pos: p.cursor_pos,
|
||||||
head_inside_block: p.head_inside_block,
|
head_inside_block: p.head_inside_block,
|
||||||
sequence: dbg!(p.sequence),
|
sequence: p.sequence,
|
||||||
}),
|
}),
|
||||||
C2sPlayPacket::UseItem(_) => {}
|
C2sPlayPacket::UseItem(_) => {}
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,6 +86,7 @@
|
||||||
clippy::unusual_byte_groupings,
|
clippy::unusual_byte_groupings,
|
||||||
clippy::comparison_chain
|
clippy::comparison_chain
|
||||||
)]
|
)]
|
||||||
|
#![deny(clippy::dbg_macro)]
|
||||||
|
|
||||||
/// Used on [`Config`](config::Config) to allow for async methods in traits.
|
/// Used on [`Config`](config::Config) to allow for async methods in traits.
|
||||||
///
|
///
|
||||||
|
|
|
@ -31,7 +31,7 @@ impl SpatialIndex {
|
||||||
/// This is for tests only! Not part of the public API.
|
/// This is for tests only! Not part of the public API.
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
pub fn test_new() -> Self {
|
pub fn test_new() -> Self {
|
||||||
dbg!("Don't call me from outside tests!");
|
eprintln!("Don't call me from outside tests!");
|
||||||
Self::new()
|
Self::new()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue