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