Remove debug bound

This commit is contained in:
grovesNL 2022-05-17 15:48:03 -02:30 committed by Josh Groves
parent e64b4ab63b
commit 32a6e1d876

View file

@ -1,7 +1,6 @@
use std::{ use std::{
borrow::Borrow, borrow::Borrow,
collections::{hash_map::Entry, HashMap}, collections::{hash_map::Entry, HashMap},
fmt,
hash::Hash, hash::Hash,
}; };
@ -10,7 +9,6 @@ struct RecentlyUsedItem<V> {
value: V, value: V,
} }
#[derive(Debug)]
enum Node<V> { enum Node<V> {
Value { Value {
value: V, value: V,
@ -30,7 +28,7 @@ pub struct RecentlyUsedMap<K: Clone + Copy + Eq + Hash, V> {
free: Option<usize>, free: Option<usize>,
} }
impl<K: Clone + Copy + Eq + Hash + fmt::Debug, V> RecentlyUsedMap<K, V> { impl<K: Clone + Copy + Eq + Hash, V> RecentlyUsedMap<K, V> {
pub fn new() -> Self { pub fn new() -> Self {
Self::with_capacity(0) Self::with_capacity(0)
} }