mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
typo
This commit is contained in:
parent
178b5ffba3
commit
c7c2eb8b08
@ -508,7 +508,7 @@ fn hover_for_keyword(
|
|||||||
documentation: bool,
|
documentation: bool,
|
||||||
token: &SyntaxToken,
|
token: &SyntaxToken,
|
||||||
) -> Option<RangeInfo<HoverResult>> {
|
) -> Option<RangeInfo<HoverResult>> {
|
||||||
if !token.kind().is_keyword() || documentation {
|
if !token.kind().is_keyword() || !documentation {
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
let famous_defs = FamousDefs(sema, sema.scope(&token.parent()?).krate());
|
let famous_defs = FamousDefs(sema, sema.scope(&token.parent()?).krate());
|
||||||
|
Loading…
Reference in New Issue
Block a user