use unicode bar for drawing the cursor

This commit is contained in:
Aleksey Kladov 2019-10-26 21:17:39 +03:00
parent 1060041393
commit cf4720ffd5
4 changed files with 24 additions and 17 deletions

View file

@ -16,7 +16,7 @@ use crate::{Assist, AssistCtx, AssistId};
// Adds or changes existing visibility specifier.
//
// ```
// fn<|> frobnicate() {}
// <|>fn frobnicate() {}
// ```
// ->
// ```

View file

@ -146,7 +146,7 @@ fn doctest_change_visibility() {
check(
"change_visibility",
r#####"
fn<|> frobnicate() {}
<|>fn frobnicate() {}
"#####,
r#####"
pub(crate) fn frobnicate() {}