about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFluid <90795031+fluiderson@users.noreply.github.com>2025-07-11 02:27:39 +0300
committerFluid <90795031+fluiderson@users.noreply.github.com>2025-07-11 02:27:39 +0300
commited96f00682c8c170c7fd680eef9bd6c2021669f9 (patch)
treeb4c8705d37f8dc2b2103902794da20e30ecad817
parent2a023bf80a6fbd6a06d5460a34eb247b986286ed (diff)
downloadrust-ed96f00682c8c170c7fd680eef9bd6c2021669f9.tar.gz
rust-ed96f00682c8c170c7fd680eef9bd6c2021669f9.zip
fix typos in function names in the `target_feature` test
-rw-r--r--tests/rustdoc-json/attrs/target_feature.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rustdoc-json/attrs/target_feature.rs b/tests/rustdoc-json/attrs/target_feature.rs
index 80262d8e332..5c8aeb84ee3 100644
--- a/tests/rustdoc-json/attrs/target_feature.rs
+++ b/tests/rustdoc-json/attrs/target_feature.rs
@@ -6,17 +6,17 @@
 pub fn test1() {}
 
 //@ is "$.index[?(@.name=='test2')].attrs" '["#[target_feature(enable=\"avx\", enable=\"avx2\")]"]'
-//@ is "$.index[?(@.name=='test1')].inner.function.header.is_unsafe" false
+//@ is "$.index[?(@.name=='test2')].inner.function.header.is_unsafe" false
 #[target_feature(enable = "avx,avx2")]
 pub fn test2() {}
 
 //@ is "$.index[?(@.name=='test3')].attrs" '["#[target_feature(enable=\"avx\", enable=\"avx2\")]"]'
-//@ is "$.index[?(@.name=='test1')].inner.function.header.is_unsafe" false
+//@ is "$.index[?(@.name=='test3')].inner.function.header.is_unsafe" false
 #[target_feature(enable = "avx", enable = "avx2")]
 pub fn test3() {}
 
 //@ is "$.index[?(@.name=='test4')].attrs" '["#[target_feature(enable=\"avx\", enable=\"avx2\", enable=\"avx512f\")]"]'
-//@ is "$.index[?(@.name=='test1')].inner.function.header.is_unsafe" false
+//@ is "$.index[?(@.name=='test4')].inner.function.header.is_unsafe" false
 #[target_feature(enable = "avx", enable = "avx2,avx512f")]
 pub fn test4() {}