From 6212b062699fdb90be8d4f4d2bffdde1bf0b183c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 17 Oct 2017 23:40:51 -0700 Subject: few basic tests --- src/bin/geniza-register.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bin') diff --git a/src/bin/geniza-register.rs b/src/bin/geniza-register.rs index 8d70655..353857f 100644 --- a/src/bin/geniza-register.rs +++ b/src/bin/geniza-register.rs @@ -29,7 +29,7 @@ fn run() -> Result<()> { ("info", Some(subm)) => { let dir = Path::new(subm.value_of("DIR").unwrap()); let prefix = subm.value_of("prefix").unwrap(); - let sdr = SleepDirRegister::open(dir, prefix, false)?; + let mut sdr = SleepDirRegister::open(dir, prefix, false)?; //debug!(println!("{:?}", sdr)); println!("Entry count: {}", sdr.len()?); println!("Total size (bytes): {}", sdr.len_bytes()?); -- cgit v1.2.3