From 20bd4ddd4e7ee92259b08fa89d53c6aa17aa2682 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Sat, 26 Dec 2020 17:55:48 +0100 Subject: format-postfix completion takes format instead of fmt --- crates/completion/src/completions/postfix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/completion/src/completions/postfix.rs') 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() { #[test] fn postfix_completion_for_format_like_strings() { check_edit( - "fmt", + "format", r#"fn main() { "{some_var:?}".<|> }"#, r#"fn main() { format!("{:?}", some_var) }"#, ); -- cgit v1.2.3