Skip to content

Commit

Permalink
Merge pull request rust-lang#1170 from alexheretic/fix-hover-inf-loop
Browse files Browse the repository at this point in the history
Fix hover infinite loop
  • Loading branch information
nrc authored Dec 7, 2018
2 parents cd79447 + db6528a commit bfa1371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/hover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ pub fn extract_docs(
};
}

if in_meta {
if !hit_top && in_meta {
// Ignore milti-line attributes
trace!(
"extract_docs: ignoring multi-line attribute, next_row: {:?}, up: {}, in_meta: {}",
Expand Down

0 comments on commit bfa1371

Please sign in to comment.