File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 4
4
//! This is the contents of the test crate docstring.
5
5
//! It should not show up in the description.
6
6
7
- // @matches 'foo/index.html' '//meta[@name="description"]/@content' \
7
+ // @has 'foo/index.html' '//meta[@name="description"]/@content' \
8
8
// 'Description test crate'
9
9
10
- // @matches 'foo/foo_mod/index.html' '//meta[@name="description"]/@content' \
10
+ // @has 'foo/foo_mod/index.html' '//meta[@name="description"]/@content' \
11
11
// 'First paragraph description.'
12
12
/// First paragraph description.
13
13
///
@@ -16,7 +16,7 @@ pub mod foo_mod {
16
16
pub struct __Thing { }
17
17
}
18
18
19
- // @matches 'foo/fn.foo_fn.html' '//meta[@name="description"]/@content' \
19
+ // @has 'foo/fn.foo_fn.html' '//meta[@name="description"]/@content' \
20
20
// 'Only paragraph.'
21
21
/// Only paragraph.
22
22
pub fn foo_fn ( ) { }
Original file line number Diff line number Diff line change 1
1
#![ crate_name = "foo" ]
2
2
3
- // @matches 'foo/index.html' '//meta[@name="description"]/@content' \
3
+ // @has 'foo/index.html' '//meta[@name="description"]/@content' \
4
4
// 'API documentation for the Rust `foo` crate.'
5
5
6
- // @matches 'foo/foo_mod/index.html' '//meta[@name="description"]/@content' \
6
+ // @has 'foo/foo_mod/index.html' '//meta[@name="description"]/@content' \
7
7
// 'API documentation for the Rust `foo_mod` mod in crate `foo`.'
8
8
pub mod foo_mod {
9
9
pub struct __Thing { }
10
10
}
11
11
12
- // @matches 'foo/fn.foo_fn.html' '//meta[@name="description"]/@content' \
12
+ // @has 'foo/fn.foo_fn.html' '//meta[@name="description"]/@content' \
13
13
// 'API documentation for the Rust `foo_fn` fn in crate `foo`.'
14
14
pub fn foo_fn ( ) { }
You can’t perform that action at this time.
0 commit comments