diff --git a/src/db.rs b/src/db.rs index d42f4b4f..9dd37cf1 100644 --- a/src/db.rs +++ b/src/db.rs @@ -853,7 +853,10 @@ impl Builder { } /// Open an existing or create a new database with the given backend. - pub fn create_backend(&self, backend: impl StorageBackend) -> Result { + pub fn create_with_backend( + &self, + backend: impl StorageBackend, + ) -> Result { Database::new( Box::new(backend), self.page_size,