File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1827,8 +1827,8 @@ impl Context {
18271827 * slot. borrow_mut ( ) = self . current . clone ( ) ;
18281828 } ) ;
18291829
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
18321832 String :: new ( )
18331833 } else {
18341834 self . current . join ( "::" )
Original file line number Diff line number Diff line change 1515// @has foo/index.html '//h2[@id="keywords"]' 'Keywords'
1616// @has foo/index.html '//a[@href="keyword.match.html"]' 'match'
1717// @has foo/keyword.match.html '//a[@class="keyword"]' 'match'
18+ // @has foo/keyword.match.html '//span[@class="in-band"]' 'Keyword match'
1819// @has foo/keyword.match.html '//section[@id="main"]//div[@class="docblock"]//p' 'this is a test!'
1920// @!has foo/index.html '//a/@href' 'foo/index.html'
2021// @!has foo/foo/index.html
You can’t perform that action at this time.
0 commit comments