Add comments

This commit is contained in:
Ryo Yoshida 2022-07-20 19:10:52 +09:00
parent 80cc0ef1bc
commit cfc52adc65
No known key found for this signature in database
GPG Key ID: E25698A930586171

View File

@ -529,6 +529,11 @@ fn main() { ControlFlow::Break(42) }
"#,
);
// The receiver texts should be escaped, see comments in `get_receiver_text()`
// for detail.
//
// Note that the last argument is what *lsp clients would see* rather than
// what users would see. Unescaping happens thereafter.
check_edit_with_config(
config.clone(),
"break",