aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ra_ide_api/src/hover.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/hover.rs b/crates/ra_ide_api/src/hover.rs
index 9c35db2a4..f56965ef5 100644
--- a/crates/ra_ide_api/src/hover.rs
+++ b/crates/ra_ide_api/src/hover.rs
@@ -18,6 +18,12 @@ pub struct HoverResult {
18 exact: bool, 18 exact: bool,
19} 19}
20 20
21impl Default for HoverResult {
22 fn default() -> Self {
23 HoverResult::new()
24 }
25}
26
21impl HoverResult { 27impl HoverResult {
22 pub fn new() -> HoverResult { 28 pub fn new() -> HoverResult {
23 HoverResult { 29 HoverResult {