]> git.lizzy.rs Git - rust.git/commitdiff
Merge #5694
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Sun, 9 Aug 2020 18:02:02 +0000 (18:02 +0000)
committerGitHub <noreply@github.com>
Sun, 9 Aug 2020 18:02:02 +0000 (18:02 +0000)
5694: Format docs in to_proto::markup_content r=jonas-schievink a=JmPotato

Signed-off-by: JmPotato <ghzpotato@gmail.com>
Close #5442

Removing # was handled in rust_analyzer::markdown::format_docs(). However, this function is no longer called in rust_analyzer::handlers::handle_hover() since commit e8bb153 (PR #5273). This pr add this formatting function back.

Co-authored-by: JmPotato <ghzpotato@gmail.com>

Trivial merge