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 @@
// } // }
// //
// fn main() { // fn main() {
// print!("{x + 1}$0"); // print!("{var} {x + 1}$0");
// } // }
// ``` // ```
// -> // ->
@ -36,7 +36,7 @@
// } // }
// //
// fn main() { // fn main() {
// print!("{}"$0, x + 1); // print!("{var} {}"$0, x + 1);
// } // }
// ``` // ```

View File

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