Derive Clone for Search
This commit is contained in:
parent
da26dedfc8
commit
95804e9672
|
@ -186,6 +186,7 @@ impl<'a> SegmentState<'a> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Clone)]
|
||||||
pub struct Search {
|
pub struct Search {
|
||||||
memo: HashMap<MemoKey, (f64, Range<usize>)>,
|
memo: HashMap<MemoKey, (f64, Range<usize>)>,
|
||||||
split_cache: Vec<usize>,
|
split_cache: Vec<usize>,
|
||||||
|
|
Loading…
Reference in New Issue