diff options
| author | dirreke <mingyang_ge@163.com> | 2023-07-25 20:54:44 +0800 |
|---|---|---|
| committer | dirreke <mingyang_ge@163.com> | 2023-08-14 23:02:37 +0800 |
| commit | c0f20413f474255076fc4d6fd80cdf05578f3c71 (patch) | |
| tree | b23782962f1c1a71daa4cf043d990c6b47d40a59 | |
| parent | 184a9afffbc7ba23409ca071d86b34ad74f50b17 (diff) | |
| download | rust-c0f20413f474255076fc4d6fd80cdf05578f3c71.tar.gz rust-c0f20413f474255076fc4d6fd80cdf05578f3c71.zip | |
fix the wrong number in const KNOWN_ARCH
| -rw-r--r-- | src/tools/rust-analyzer/crates/ide-completion/src/completions/attribute/cfg.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/ide-completion/src/completions/attribute/cfg.rs b/src/tools/rust-analyzer/crates/ide-completion/src/completions/attribute/cfg.rs index a5af9affb9c..62bdb6ee688 100644 --- a/src/tools/rust-analyzer/crates/ide-completion/src/completions/attribute/cfg.rs +++ b/src/tools/rust-analyzer/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", |
