mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 13:18:47 +00:00
typo
This commit is contained in:
parent
178b5ffba3
commit
c7c2eb8b08
1 changed files with 1 additions and 1 deletions
|
@ -508,7 +508,7 @@ fn hover_for_keyword(
|
|||
documentation: bool,
|
||||
token: &SyntaxToken,
|
||||
) -> Option<RangeInfo<HoverResult>> {
|
||||
if !token.kind().is_keyword() || documentation {
|
||||
if !token.kind().is_keyword() || !documentation {
|
||||
return None;
|
||||
}
|
||||
let famous_defs = FamousDefs(sema, sema.scope(&token.parent()?).krate());
|
||||
|
|
Loading…
Reference in a new issue