From 592f6e650168baa3111079d23e381d3c15adc65d Mon Sep 17 00:00:00 2001 From: Aditya Mukhopadhyay Date: Sun, 23 Aug 2026 12:05:48 +0530 Subject: [PATCH] docs: fix dangling intra-doc link to test-only FileBackend::open `open_with`'s doc comment linked to `FileBackend::open`, which is #[cfg(test)]-gated and therefore unresolvable in a non-test doc build (cargo doc --document-private-items -D rustdoc::broken_intra_doc_links). Fixes #328 Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01YMWSutMLJJ7Y5b8hs9ZaCU --- src/storage/backend/file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/backend/file.rs b/src/storage/backend/file.rs index e2b892f579..d3b9a4f449 100644 --- a/src/storage/backend/file.rs +++ b/src/storage/backend/file.rs @@ -165,7 +165,7 @@ impl FileBackend { Self::open_with(path, false) } - /// As [`FileBackend::open`], but `allow_unlocked` permits opening on a + /// As `FileBackend::open` (test-only), but `allow_unlocked` permits opening on a /// filesystem that cannot lock at all. /// /// `allow_unlocked` does NOT override a lock held by someone else. It