From 9734de8663bdb98875e44954a5624f47056316ef Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Tue, 11 Jun 2024 15:49:29 +0200 Subject: [PATCH] Fix documentation --- crates/ruff_db/src/source.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_db/src/source.rs b/crates/ruff_db/src/source.rs index 8c7f10a3f91d3..e7253c5bb7a60 100644 --- a/crates/ruff_db/src/source.rs +++ b/crates/ruff_db/src/source.rs @@ -24,7 +24,7 @@ pub fn line_index(db: &dyn Db, file: VfsFile) -> LineIndex { LineIndex::from_source_text(&source) } -/// The source text of a [`VfsFile`](crate::File) +/// The source text of a [`VfsFile`]. /// /// Cheap cloneable in `O(1)`. #[derive(Clone, Eq, PartialEq)]