This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 44//! This is the contents of the test crate docstring.
55//! It should not show up in the description.
66
7- // @matches 'foo/index.html' '//meta[@name="description"]/@content' \
7+ // @has 'foo/index.html' '//meta[@name="description"]/@content' \
88// 'Description test crate'
99
10- // @matches 'foo/foo_mod/index.html' '//meta[@name="description"]/@content' \
10+ // @has 'foo/foo_mod/index.html' '//meta[@name="description"]/@content' \
1111// 'First paragraph description.'
1212/// First paragraph description.
1313///
@@ -16,7 +16,7 @@ pub mod foo_mod {
1616 pub struct __Thing { }
1717}
1818
19- // @matches 'foo/fn.foo_fn.html' '//meta[@name="description"]/@content' \
19+ // @has 'foo/fn.foo_fn.html' '//meta[@name="description"]/@content' \
2020// 'Only paragraph.'
2121/// Only paragraph.
2222pub fn foo_fn ( ) { }
Original file line number Diff line number Diff line change 11#![ crate_name = "foo" ]
22
3- // @matches 'foo/index.html' '//meta[@name="description"]/@content' \
3+ // @has 'foo/index.html' '//meta[@name="description"]/@content' \
44// 'API documentation for the Rust `foo` crate.'
55
6- // @matches 'foo/foo_mod/index.html' '//meta[@name="description"]/@content' \
6+ // @has 'foo/foo_mod/index.html' '//meta[@name="description"]/@content' \
77// 'API documentation for the Rust `foo_mod` mod in crate `foo`.'
88pub mod foo_mod {
99 pub struct __Thing { }
1010}
1111
12- // @matches 'foo/fn.foo_fn.html' '//meta[@name="description"]/@content' \
12+ // @has 'foo/fn.foo_fn.html' '//meta[@name="description"]/@content' \
1313// 'API documentation for the Rust `foo_fn` fn in crate `foo`.'
1414pub fn foo_fn ( ) { }
You can’t perform that action at this time.
0 commit comments