Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Veykril committed Jun 14, 2021
1 parent 178b5ff commit c7c2eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ide/src/hover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit c7c2eb8

Please sign in to comment.