about summary refs log tree commit diff
diff options
context:
space:
mode:
authordirreke <mingyang_ge@163.com>2023-07-25 20:54:44 +0800
committerdirreke <mingyang_ge@163.com>2023-08-14 23:02:37 +0800
commit465aaed1cf7cd271cc5532a2e0e7371ad028626b (patch)
tree3266a5b6a11976104e82d9ded74ba36f1ffc4897
parent93b683815856b765490c203c61e4f3d96fc44d80 (diff)
downloadrust-465aaed1cf7cd271cc5532a2e0e7371ad028626b.tar.gz
rust-465aaed1cf7cd271cc5532a2e0e7371ad028626b.zip
fix the wrong number in const KNOWN_ARCH
-rw-r--r--crates/ide-completion/src/completions/attribute/cfg.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide-completion/src/completions/attribute/cfg.rs b/crates/ide-completion/src/completions/attribute/cfg.rs
index a5af9affb9c..62bdb6ee688 100644
--- a/crates/ide-completion/src/completions/attribute/cfg.rs
+++ b/crates/ide-completion/src/completions/attribute/cfg.rs
@@ -42,7 +42,7 @@ pub(crate) fn complete_cfg(acc: &mut Completions, ctx: &CompletionContext<'_>) {
     };
 }
 
-const KNOWN_ARCH: [&str; 19] = [
+const KNOWN_ARCH: [&str; 20] = [
     "aarch64",
     "arm",
     "avr",