diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-29 11:45:00 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-29 11:45:00 +0000 |
commit | bd18093740e55b3afce7d63cd99b1baf5639e50b (patch) | |
tree | 23d4b8245cc69d0a7f68b150d0c094d9c4cc16d5 /crates/completion/src/completions/postfix.rs | |
parent | 77ad203a719be074e81485af7a4fb02fac6cbf61 (diff) | |
parent | 20bd4ddd4e7ee92259b08fa89d53c6aa17aa2682 (diff) |
Merge #7075
7075: format-postfix completion takes format instead of fmt r=lnicola a=Veykril
See https://github.com/rust-analyzer/rust-analyzer/issues/6843
this brings it back in line with the documentation
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/completion/src/completions/postfix.rs')
-rw-r--r-- | crates/completion/src/completions/postfix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/completion/src/completions/postfix.rs b/crates/completion/src/completions/postfix.rs index d6db82a93..3883d6d21 100644 --- a/crates/completion/src/completions/postfix.rs +++ b/crates/completion/src/completions/postfix.rs | |||
@@ -502,7 +502,7 @@ fn main() { | |||
502 | #[test] | 502 | #[test] |
503 | fn postfix_completion_for_format_like_strings() { | 503 | fn postfix_completion_for_format_like_strings() { |
504 | check_edit( | 504 | check_edit( |
505 | "fmt", | 505 | "format", |
506 | r#"fn main() { "{some_var:?}".<|> }"#, | 506 | r#"fn main() { "{some_var:?}".<|> }"#, |
507 | r#"fn main() { format!("{:?}", some_var) }"#, | 507 | r#"fn main() { format!("{:?}", some_var) }"#, |
508 | ); | 508 | ); |