summary refs log tree commit diff
path: root/ripple/fossil/src
diff options
context:
space:
mode:
Diffstat (limited to 'ripple/fossil/src')
-rw-r--r--ripple/fossil/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ripple/fossil/src/lib.rs b/ripple/fossil/src/lib.rs
index 9e380f2..8858196 100644
--- a/ripple/fossil/src/lib.rs
+++ b/ripple/fossil/src/lib.rs
@@ -2,6 +2,7 @@
 // SPDX-License-Identifier: OSL-3.0
 
 use {
+	anyhow::Result,
 	byteorder::{BigEndian, ByteOrder},
 	prost::Message,
 	std::{
@@ -26,7 +27,7 @@ pub struct Store {
 }
 
 impl Store {
-	pub fn open(path: impl AsRef<Path>) -> io::Result<Store> {
+	pub fn open(path: impl AsRef<Path>) -> Result<Store> {
 		let db = sled::open(path)?;
 		Ok(Store { db })
 	}