mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
add user docs for ssr assist
This commit is contained in:
parent
a9b1e5cde1
commit
40587b08a0
@ -57,6 +57,15 @@
|
||||
//
|
||||
// | VS Code | **Rust Analyzer: Structural Search Replace**
|
||||
// |===
|
||||
//
|
||||
// Also available as an assist, by writing a comment containing the structural
|
||||
// search and replace rule. You will only see the assist if the comment can
|
||||
// be parsed as a valid structural search and replace rule.
|
||||
//
|
||||
// ```rust
|
||||
// // Place the cursor on the line below to see the assist 💡.
|
||||
// // foo($a, $b) ==>> ($a).foo($b)
|
||||
// ```
|
||||
|
||||
mod matching;
|
||||
mod nester;
|
||||
|
Loading…
Reference in New Issue
Block a user