Use ImplItems instead of just Function

This commit is contained in:
Jeremy Kolb 2019-03-02 14:05:37 -05:00
parent 49da9a3e81
commit 3d8d880c59
3 changed files with 65 additions and 40 deletions

View file

@ -531,7 +531,7 @@ mod tests {
",
);
let hover = analysis.hover(position).unwrap().unwrap();
assert_eq!(hover.info.first(), Some("```rust\nfn new() -> Thing\n```"));
assert_eq!(trim_markup_opt(hover.info.first()), Some("fn new() -> Thing"));
assert_eq!(hover.info.is_exact(), true);
}
}