PMMRable cleanup (#1910)
* cleanup pmmrable and len() introduce FixedLength trait with a const LEN make Hash impl FixedLength for consistency * rustfmt * store tests cleanup * rustfmt * whats going on with those comments and rustfmt?
This commit is contained in:
@@ -69,18 +69,12 @@ impl HashOnlyMMRHandle {
|
||||
}
|
||||
}
|
||||
|
||||
struct PMMRHandle<T>
|
||||
where
|
||||
T: PMMRable,
|
||||
{
|
||||
struct PMMRHandle<T: PMMRable> {
|
||||
backend: PMMRBackend<T>,
|
||||
last_pos: u64,
|
||||
}
|
||||
|
||||
impl<T> PMMRHandle<T>
|
||||
where
|
||||
T: PMMRable + ::std::fmt::Debug,
|
||||
{
|
||||
impl<T: PMMRable> PMMRHandle<T> {
|
||||
fn new(
|
||||
root_dir: &str,
|
||||
sub_dir: &str,
|
||||
|
||||
Reference in New Issue
Block a user