mirror of https://github.com/helix-editor/helix
chore: move comment to a doc comment
parent
600bdae69f
commit
c7dd5c1ad9
|
@ -46,13 +46,13 @@ pub fn get_comment_token(
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Find the injection with the most tightly encompassing range.
|
||||||
pub fn get_injected_tokens(
|
pub fn get_injected_tokens(
|
||||||
loader: &syntax::Loader,
|
loader: &syntax::Loader,
|
||||||
syntax: Option<&Syntax>,
|
syntax: Option<&Syntax>,
|
||||||
start: u32,
|
start: u32,
|
||||||
end: u32,
|
end: u32,
|
||||||
) -> (Option<Vec<String>>, Option<Vec<BlockCommentToken>>) {
|
) -> (Option<Vec<String>>, Option<Vec<BlockCommentToken>>) {
|
||||||
// Find the injection with the most tightly encompassing range.
|
|
||||||
syntax
|
syntax
|
||||||
.and_then(|syntax| {
|
.and_then(|syntax| {
|
||||||
syntax
|
syntax
|
||||||
|
|
Loading…
Reference in New Issue