Consistent ordering of impl blocks
This commit is contained in:
parent
11a7e88b95
commit
0ce148db1e
|
@ -181,16 +181,6 @@ pub struct Search {
|
|||
result: Vec<String>,
|
||||
}
|
||||
|
||||
impl Default for Search {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
memo: HashMap::default(),
|
||||
best: [BitVec::default(); SEGMENT_SIZE],
|
||||
result: Vec::new(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Search {
|
||||
fn clear(&mut self) {
|
||||
self.memo.clear();
|
||||
|
@ -201,6 +191,16 @@ impl Search {
|
|||
}
|
||||
}
|
||||
|
||||
impl Default for Search {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
memo: HashMap::default(),
|
||||
best: [BitVec::default(); SEGMENT_SIZE],
|
||||
result: Vec::new(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Default)]
|
||||
struct BitVec([u64; 4]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue