mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Better naming and docs
This commit is contained in:
parent
188ec3459e
commit
db12ccee96
6 changed files with 30 additions and 28 deletions
|
@ -183,7 +183,7 @@ mod tests {
|
|||
/// Takes a multi-file input fixture with annotated cursor positions,
|
||||
/// and checks that:
|
||||
/// * a diagnostic is produced
|
||||
/// * this diagnostic fix touches the input cursor position
|
||||
/// * this diagnostic fix trigger range touches the input cursor position
|
||||
/// * that the contents of the file containing the cursor match `after` after the diagnostic fix is applied
|
||||
fn check_fix(ra_fixture_before: &str, ra_fixture_after: &str) {
|
||||
let after = trim_indent(ra_fixture_after);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue