about summary refs log tree commit diff
path: root/src/test/rustdoc/inline_cross/add-docs.rs
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2022-08-10 13:13:18 -0700
committerNoah Lev <camelidcamel@gmail.com>2022-08-13 00:37:13 -0400
commit13d53273f81142cbea70e63730f0adc199723153 (patch)
tree988729a8d16ed64cc13a0d309ed11069894ae1ac /src/test/rustdoc/inline_cross/add-docs.rs
parent37eed1d1ff3f433b4d6af02e65f6550d10b568f8 (diff)
downloadrust-13d53273f81142cbea70e63730f0adc199723153.tar.gz
rust-13d53273f81142cbea70e63730f0adc199723153.zip
Rename `@hastext` to `@hasraw` (same for `matches`)
I think `@hasraw` is slightly clearer than `@hastext` since it is
actually matching against the raw HTML, not the text nodes.
Diffstat (limited to 'src/test/rustdoc/inline_cross/add-docs.rs')
-rw-r--r--src/test/rustdoc/inline_cross/add-docs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc/inline_cross/add-docs.rs b/src/test/rustdoc/inline_cross/add-docs.rs
index 83764835546..a1124d2094c 100644
--- a/src/test/rustdoc/inline_cross/add-docs.rs
+++ b/src/test/rustdoc/inline_cross/add-docs.rs
@@ -4,6 +4,6 @@ extern crate inner;
 
 
 // @has add_docs/struct.MyStruct.html
-// @hastext add_docs/struct.MyStruct.html "Doc comment from ‘pub use’, Doc comment from definition"
+// @hasraw add_docs/struct.MyStruct.html "Doc comment from ‘pub use’, Doc comment from definition"
 /// Doc comment from 'pub use',
 pub use inner::MyStruct;