We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ddafb2 commit df147c7Copy full SHA for df147c7
src/test/rustdoc/prim-title.rs
src/test/rustdoc/title.rs renamed to src/test/rustdoc/tab_title.rs
@@ -1,6 +1,8 @@
1
#![crate_name = "foo"]
2
#![feature(doc_keyword)]
3
4
+// tests for the html <title> element
5
+
6
// @has foo/index.html '//head/title' 'foo - Rust'
7
8
// @has foo/fn.widget_count.html '//head/title' 'widget_count in foo - Rust'
@@ -34,3 +36,9 @@ pub mod blah {
34
36
// @has foo/keyword.continue.html '//head/title' 'continue - Rust'
35
37
#[doc(keyword = "continue")]
38
mod continue_keyword {}
39
40
+// @has foo/primitive.u8.html '//head/title' 'u8 - Rust'
41
+// @!has - '//head/title' 'foo'
42
+#[doc(primitive = "u8")]
43
+/// `u8` docs
44
+mod u8 {}
0 commit comments