From 5d2c2b804cc5ec3f3e00d95e31ca71d35bf2e93c Mon Sep 17 00:00:00 2001 From: StyMaar Date: Tue, 1 Mar 2022 01:46:53 +0100 Subject: [PATCH] Fix link to RamDirectory and MMapDirectory in `Directory`'s documentation (#1295) --- src/directory/directory.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/directory/directory.rs b/src/directory/directory.rs index 4cf2a7ed0..11c9acec0 100644 --- a/src/directory/directory.rs +++ b/src/directory/directory.rs @@ -96,9 +96,9 @@ fn retry_policy(is_blocking: bool) -> RetryPolicy { /// /// There are currently two implementations of `Directory` /// -/// - The [`MMapDirectory`](struct.MmapDirectory.html), this +/// - The [`MMapDirectory`][crate::directory::MmapDirectory], this /// should be your default choice. -/// - The [`RamDirectory`](struct.RamDirectory.html), which +/// - The [`RamDirectory`][crate::directory::RamDirectory], which /// should be used mostly for tests. pub trait Directory: DirectoryClone + fmt::Debug + Send + Sync + 'static { /// Opens a file and returns a boxed `FileHandle`.