Create a `Hover` with Markdown content.
(contents: String)
| 22 | |
| 23 | /// Create a `Hover` with Markdown content. |
| 24 | pub(super) fn make_hover(contents: String) -> Hover { |
| 25 | Hover { |
| 26 | contents: HoverContents::Markup(MarkupContent { |
| 27 | kind: MarkupKind::Markdown, |
| 28 | value: contents, |
| 29 | }), |
| 30 | range: None, |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | /// Format a deprecation message as a Markdown line for hover output. |
| 35 | /// |
no outgoing calls
no test coverage detected