aboutsummaryrefslogtreecommitdiff
path: root/src/table/data.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/table/data.rs')
-rw-r--r--src/table/data.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/table/data.rs b/src/table/data.rs
index e688168f..839dae94 100644
--- a/src/table/data.rs
+++ b/src/table/data.rs
@@ -318,7 +318,7 @@ where
}
}
- pub fn gc_todo_len(&self) -> usize {
- self.gc_todo.len().unwrap() // TODO fix unwrap
+ pub fn gc_todo_len(&self) -> Result<usize, Error> {
+ Ok(self.gc_todo.len()?)
}
}