From c7dd5c1ad918a7c729c4918e46eae3170919b696 Mon Sep 17 00:00:00 2001 From: Nik Revenco <154856872+NikitaRevenco@users.noreply.github.com> Date: Thu, 15 May 2025 17:18:59 +0100 Subject: [PATCH] chore: move comment to a doc comment --- helix-core/src/comment.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-core/src/comment.rs b/helix-core/src/comment.rs index f0b98c5a2..8cfd8b42f 100644 --- a/helix-core/src/comment.rs +++ b/helix-core/src/comment.rs @@ -46,13 +46,13 @@ pub fn get_comment_token( ) } +/// Find the injection with the most tightly encompassing range. pub fn get_injected_tokens( loader: &syntax::Loader, syntax: Option<&Syntax>, start: u32, end: u32, ) -> (Option>, Option>) { - // Find the injection with the most tightly encompassing range. syntax .and_then(|syntax| { syntax