replace unwrap by expect with error info
qianyiwen2019 opened this issue · 0 comments
qianyiwen2019 commented
like:
let file = File::open(&self.file_path).expect("rdb file not found");
qianyiwen2019 opened this issue · 0 comments
like:
let file = File::open(&self.file_path).expect("rdb file not found");