Skip to content

Commit

Permalink
edit Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxiujia committed Dec 27, 2023
1 parent 00f9c76 commit 35243a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ pub struct Pool<M: Manager> {
waits: Arc<AtomicU64>,
}

impl<M: Manager+ Debug> Debug for Pool<M> {
impl<M: Manager> Debug for Pool<M> {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
f.debug_struct("Pool")
.field("manager", &self.manager)
// .field("manager", &self.manager)
.field("max_open", &self.max_open)
.field("in_use", &self.in_use)
.finish()
Expand Down

0 comments on commit 35243a8

Please sign in to comment.