File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1827,8 +1827,8 @@ impl Context {
1827
1827
* slot. borrow_mut ( ) = self . current . clone ( ) ;
1828
1828
} ) ;
1829
1829
1830
- let mut title = if it. is_primitive ( ) {
1831
- // No need to include the namespace for primitive types
1830
+ let mut title = if it. is_primitive ( ) || it . is_keyword ( ) {
1831
+ // No need to include the namespace for primitive types and keywords
1832
1832
String :: new ( )
1833
1833
} else {
1834
1834
self . current . join ( "::" )
Original file line number Diff line number Diff line change 15
15
// @has foo/index.html '//h2[@id="keywords"]' 'Keywords'
16
16
// @has foo/index.html '//a[@href="keyword.match.html"]' 'match'
17
17
// @has foo/keyword.match.html '//a[@class="keyword"]' 'match'
18
+ // @has foo/keyword.match.html '//span[@class="in-band"]' 'Keyword match'
18
19
// @has foo/keyword.match.html '//section[@id="main"]//div[@class="docblock"]//p' 'this is a test!'
19
20
// @!has foo/index.html '//a/@href' 'foo/index.html'
20
21
// @!has foo/foo/index.html
You can’t perform that action at this time.
0 commit comments