diff options
author | Benjamin Coenen <[email protected]> | 2020-05-05 13:29:07 +0100 |
---|---|---|
committer | Benjamin Coenen <[email protected]> | 2020-05-05 13:29:25 +0100 |
commit | 0bf02f5ccac99c91f10ef46bb06ff2ea316c382c (patch) | |
tree | d7e1ab7298020d7ae411b699e055c99d79d92672 /crates/ra_ide/src | |
parent | 15de338703fd9c789c4cf8041a59d8730f12bc78 (diff) |
do not truncate display for hover #4311
Signed-off-by: Benjamin Coenen <[email protected]>
Diffstat (limited to 'crates/ra_ide/src')
-rw-r--r-- | crates/ra_ide/src/hover.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/hover.rs b/crates/ra_ide/src/hover.rs index 54d318858..df8451af2 100644 --- a/crates/ra_ide/src/hover.rs +++ b/crates/ra_ide/src/hover.rs | |||
@@ -208,7 +208,7 @@ pub(crate) fn hover(db: &RootDatabase, position: FilePosition) -> Option<RangeIn | |||
208 | } | 208 | } |
209 | }?; | 209 | }?; |
210 | 210 | ||
211 | res.extend(Some(rust_code_markup(&ty.display_truncated(db, None)))); | 211 | res.extend(Some(rust_code_markup(&ty.display(db)))); |
212 | let range = sema.original_range(&node).range; | 212 | let range = sema.original_range(&node).range; |
213 | Some(RangeInfo::new(range, res)) | 213 | Some(RangeInfo::new(range, res)) |
214 | } | 214 | } |