1
Fork 0

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.
This commit is contained in:
Noah Lev 2022-08-10 13:13:18 -07:00
parent 37eed1d1ff
commit 13d53273f8
41 changed files with 175 additions and 175 deletions

View file

@ -3,11 +3,11 @@
trait MyTrait {}
impl MyTrait for i32 {}
// @hastext impl_trait_alias/type.Foo.html 'Foo'
// @hasraw impl_trait_alias/type.Foo.html 'Foo'
/// debug type
pub type Foo = impl MyTrait;
// @hastext impl_trait_alias/fn.foo.html 'foo'
// @hasraw impl_trait_alias/fn.foo.html 'foo'
/// debug function
pub fn foo() -> Foo {
1