diff --git a/storage/blockchain/src/config.rs b/storage/blockchain/src/config.rs index 2bd35e0e..68736219 100644 --- a/storage/blockchain/src/config.rs +++ b/storage/blockchain/src/config.rs @@ -125,7 +125,7 @@ impl ConfigBuilder { self } - /// Set a custom database directory (and file) [`Path`]. + /// Set a custom database directory (and file) [`PathBuf`]. #[must_use] pub fn db_directory(mut self, db_directory: PathBuf) -> Self { self.db_directory = Some(db_directory); diff --git a/storage/txpool/src/config.rs b/storage/txpool/src/config.rs index 5aa7334d..e45a2be4 100644 --- a/storage/txpool/src/config.rs +++ b/storage/txpool/src/config.rs @@ -104,7 +104,7 @@ impl ConfigBuilder { self } - /// Set a custom database directory (and file) [`Path`]. + /// Set a custom database directory (and file) [`PathBuf`]. #[must_use] pub fn db_directory(mut self, db_directory: PathBuf) -> Self { self.db_directory = Some(db_directory);