about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorAlona Enraght-Moony <code@alona.page>2025-04-20 11:34:49 +0000
committerAlona Enraght-Moony <code@alona.page>2025-04-20 11:37:00 +0000
commitfd4a093a4e9319fa1dc6603ea4ba5a5703ef5009 (patch)
tree1d1e64ce11ada7a45b9ccbe1afc946c9392e4e9a /tests
parent49e5e4e3a5610c240a717cb99003a5d5d3356679 (diff)
downloadrust-fd4a093a4e9319fa1dc6603ea4ba5a5703ef5009.tar.gz
rust-fd4a093a4e9319fa1dc6603ea4ba5a5703ef5009.zip
jsondocck: Require command is at start of line
Diffstat (limited to 'tests')
-rw-r--r--tests/rustdoc-json/fns/return_type_alias.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc-json/fns/return_type_alias.rs b/tests/rustdoc-json/fns/return_type_alias.rs
index 0aa1db47b7f..c39abc75894 100644
--- a/tests/rustdoc-json/fns/return_type_alias.rs
+++ b/tests/rustdoc-json/fns/return_type_alias.rs
@@ -1,6 +1,6 @@
 // Regression test for <https://github.com/rust-lang/rust/issues/104851>
 
-///@ set foo = "$.index[?(@.name=='Foo')].id"
+//@ set foo = "$.index[?(@.name=='Foo')].id"
 pub type Foo = i32;
 
 //@ is "$.index[?(@.name=='demo')].inner.function.sig.output.resolved_path.id" $foo