Remove debug bound
This commit is contained in:
parent
e64b4ab63b
commit
32a6e1d876
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue