docs: update assist comment

This commit is contained in:
unvalley 2022-11-27 18:24:43 +09:00 committed by Lukas Wirth
parent 872df2f413
commit a310fc0cd5
2 changed files with 4 additions and 4 deletions

View file

@ -23,7 +23,7 @@ use syntax::{ast, AstNode, AstToken, NodeOrToken, SyntaxKind::COMMA, TextRange};
// }
//
// fn main() {
// print!("{x + 1}$0");
// print!("{var} {x + 1}$0");
// }
// ```
// ->
@ -36,7 +36,7 @@ use syntax::{ast, AstNode, AstToken, NodeOrToken, SyntaxKind::COMMA, TextRange};
// }
//
// fn main() {
// print!("{}"$0, x + 1);
// print!("{var} {}"$0, x + 1);
// }
// ```

View file

@ -637,7 +637,7 @@ macro_rules! print {
}
fn main() {
print!("{x + 1}$0");
print!("{var} {x + 1}$0");
}
"#####,
r#####"
@ -649,7 +649,7 @@ macro_rules! print {
}
fn main() {
print!("{}"$0, x + 1);
print!("{var} {}"$0, x + 1);
}
"#####,
)