chore: move comment to a doc comment

pull/12759/head
Nik Revenco 2025-05-15 17:18:59 +01:00
parent 600bdae69f
commit c7dd5c1ad9
1 changed files with 1 additions and 1 deletions

View File

@ -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<Vec<String>>, Option<Vec<BlockCommentToken>>) {
// Find the injection with the most tightly encompassing range.
syntax
.and_then(|syntax| {
syntax