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 +14
-9
lines changed Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 11#![ crate_name = "foo" ]
22//! # Description test crate
33//!
4- //! This is the contents of the test crate docstring. It should not show up in the description.
4+ //! This is the contents of the test crate docstring.
5+ //! It should not show up in the description.
56
6- // @matches 'foo/index.html' '//meta[@name="description"]/@content' 'Description test crate'
7+ // @matches 'foo/index.html' '//meta[@name="description"]/@content' \
8+ // 'Description test crate'
79
8- // @matches 'foo/foo_mod/index.html' '//meta[@name="description"]/@content' 'First paragraph description.'
10+ // @matches 'foo/foo_mod/index.html' '//meta[@name="description"]/@content' \
11+ // 'First paragraph description.'
912/// First paragraph description.
1013///
1114/// Second paragraph should not show up.
1215pub mod foo_mod {
1316 pub struct __Thing { }
1417}
1518
16- // @matches 'foo/fn.foo_fn.html' '//meta[@name="description"]/@content' 'Only paragraph.'
19+ // @matches 'foo/fn.foo_fn.html' '//meta[@name="description"]/@content' \
20+ // 'Only paragraph.'
1721/// Only paragraph.
1822pub fn foo_fn ( ) { }
19-
Original file line number Diff line number Diff line change 11#![ crate_name = "foo" ]
22
3- // @matches 'foo/index.html' '//meta[@name="description"]/@content' 'API documentation for the Rust `foo` crate.'
3+ // @matches 'foo/index.html' '//meta[@name="description"]/@content' \
4+ // 'API documentation for the Rust `foo` crate.'
45
5- // @matches 'foo/foo_mod/index.html' '//meta[@name="description"]/@content' 'API documentation for the Rust `foo_mod` mod in crate `foo`.'
6+ // @matches 'foo/foo_mod/index.html' '//meta[@name="description"]/@content' \
7+ // 'API documentation for the Rust `foo_mod` mod in crate `foo`.'
68pub mod foo_mod {
79 pub struct __Thing { }
810}
911
10- // @matches 'foo/fn.foo_fn.html' '//meta[@name="description"]/@content' 'API documentation for the Rust `foo_fn` fn in crate `foo`.'
12+ // @matches 'foo/fn.foo_fn.html' '//meta[@name="description"]/@content' \
13+ // 'API documentation for the Rust `foo_fn` fn in crate `foo`.'
1114pub fn foo_fn ( ) { }
12-
You can’t perform that action at this time.
0 commit comments