mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
typo
This commit is contained in:
parent
178b5ffba3
commit
c7c2eb8b08
@ -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 New Issue
Block a user