diff options
author | Lukas Wirth <[email protected]> | 2020-12-26 16:55:48 +0000 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2020-12-29 11:28:46 +0000 |
commit | 20bd4ddd4e7ee92259b08fa89d53c6aa17aa2682 (patch) | |
tree | 9905e75c33838062dd327fc234f4eccadcb9e56c /crates/completion/src/completions/postfix | |
parent | fd1fcf2c2e90ab04103a6aa9d033ec64dcc8d555 (diff) |
format-postfix completion takes format instead of fmt
Diffstat (limited to 'crates/completion/src/completions/postfix')
-rw-r--r-- | crates/completion/src/completions/postfix/format_like.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/completion/src/completions/postfix/format_like.rs b/crates/completion/src/completions/postfix/format_like.rs index 88ba86acb..ea41e01c5 100644 --- a/crates/completion/src/completions/postfix/format_like.rs +++ b/crates/completion/src/completions/postfix/format_like.rs | |||
@@ -22,7 +22,7 @@ use syntax::ast::{self, AstToken}; | |||
22 | 22 | ||
23 | /// Mapping ("postfix completion item" => "macro to use") | 23 | /// Mapping ("postfix completion item" => "macro to use") |
24 | static KINDS: &[(&str, &str)] = &[ | 24 | static KINDS: &[(&str, &str)] = &[ |
25 | ("fmt", "format!"), | 25 | ("format", "format!"), |
26 | ("panic", "panic!"), | 26 | ("panic", "panic!"), |
27 | ("println", "println!"), | 27 | ("println", "println!"), |
28 | ("eprintln", "eprintln!"), | 28 | ("eprintln", "eprintln!"), |