mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
use unicode bar for drawing the cursor
This commit is contained in:
parent
1060041393
commit
cf4720ffd5
4 changed files with 24 additions and 17 deletions
|
@ -16,7 +16,7 @@ use crate::{Assist, AssistCtx, AssistId};
|
|||
// Adds or changes existing visibility specifier.
|
||||
//
|
||||
// ```
|
||||
// fn<|> frobnicate() {}
|
||||
// <|>fn frobnicate() {}
|
||||
// ```
|
||||
// ->
|
||||
// ```
|
||||
|
|
|
@ -146,7 +146,7 @@ fn doctest_change_visibility() {
|
|||
check(
|
||||
"change_visibility",
|
||||
r#####"
|
||||
fn<|> frobnicate() {}
|
||||
<|>fn frobnicate() {}
|
||||
"#####,
|
||||
r#####"
|
||||
pub(crate) fn frobnicate() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue