Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #15295 - bernardosulzbach:fix-ssr-help-message, r=lnicola
Fix rust-analzyer ssr help message It's missing a `>`, so ``` > rust-analyzer ssr '''$a.foo($b) ==> bar($a, $b)''' can't parse `rule`, Parse error: Cannot find delimiter `==>>` ``` happens.
bors 2023-07-16
parent bc0628c · parent 0e2c68d · commit ca797d2
-rw-r--r--crates/rust-analyzer/src/cli/flags.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/cli/flags.rs b/crates/rust-analyzer/src/cli/flags.rs
index 66af59c0b5..13b7f039bb 100644
--- a/crates/rust-analyzer/src/cli/flags.rs
+++ b/crates/rust-analyzer/src/cli/flags.rs
@@ -113,7 +113,7 @@ xflags::xflags! {
}
cmd ssr {
- /// A structured search replace rule (`$a.foo($b) ==> bar($a, $b)`)
+ /// A structured search replace rule (`$a.foo($b) ==>> bar($a, $b)`)
repeated rule: SsrRule
}