Skip to content

Commit

Permalink
Auto merge of #15295 - bernardosulzbach:fix-ssr-help-message, r=lnicola
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Jul 16, 2023
2 parents bc0628c + 0e2c68d commit ca797d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rust-analyzer/src/cli/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit ca797d2

Please sign in to comment.