diff options
Diffstat (limited to 'crates/ra_ide_api/src/call_info.rs')
-rw-r--r-- | crates/ra_ide_api/src/call_info.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_ide_api/src/call_info.rs b/crates/ra_ide_api/src/call_info.rs index f203a6bf1..ee1e13799 100644 --- a/crates/ra_ide_api/src/call_info.rs +++ b/crates/ra_ide_api/src/call_info.rs | |||
@@ -126,8 +126,7 @@ impl CallInfo { | |||
126 | }; | 126 | }; |
127 | 127 | ||
128 | let mut doc = None; | 128 | let mut doc = None; |
129 | let docs = node.doc_comment_text(); | 129 | if let Some(docs) = node.doc_comment_text() { |
130 | if !docs.is_empty() { | ||
131 | // Massage markdown | 130 | // Massage markdown |
132 | let mut processed_lines = Vec::new(); | 131 | let mut processed_lines = Vec::new(); |
133 | let mut in_code_block = false; | 132 | let mut in_code_block = false; |