From d7d7541dae0af7763b309874e56b715774bc42df Mon Sep 17 00:00:00 2001 From: Boog900 <54e72d8a-345f-4599-bd90-c6b9bc7d0ec5@aleeas.com> Date: Sat, 26 Oct 2024 21:25:38 +0100 Subject: [PATCH] fix doc --- storage/blockchain/src/config.rs | 2 +- storage/txpool/src/config.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);