mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-23 03:59:31 +00:00
fix doc
This commit is contained in:
parent
d1f3eb40bf
commit
d7d7541dae
2 changed files with 2 additions and 2 deletions
|
@ -125,7 +125,7 @@ impl ConfigBuilder {
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Set a custom database directory (and file) [`Path`].
|
/// Set a custom database directory (and file) [`PathBuf`].
|
||||||
#[must_use]
|
#[must_use]
|
||||||
pub fn db_directory(mut self, db_directory: PathBuf) -> Self {
|
pub fn db_directory(mut self, db_directory: PathBuf) -> Self {
|
||||||
self.db_directory = Some(db_directory);
|
self.db_directory = Some(db_directory);
|
||||||
|
|
|
@ -104,7 +104,7 @@ impl ConfigBuilder {
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Set a custom database directory (and file) [`Path`].
|
/// Set a custom database directory (and file) [`PathBuf`].
|
||||||
#[must_use]
|
#[must_use]
|
||||||
pub fn db_directory(mut self, db_directory: PathBuf) -> Self {
|
pub fn db_directory(mut self, db_directory: PathBuf) -> Self {
|
||||||
self.db_directory = Some(db_directory);
|
self.db_directory = Some(db_directory);
|
||||||
|
|
Loading…
Reference in a new issue