Add documentation_style to with short and full options
This commit is contained in:
committed by
Emilio Cobos Álvarez
parent
24c130bd9c
commit
0e3f9bd9cb
@@ -0,0 +1,16 @@
|
||||
/// The root of all evil.
|
||||
///
|
||||
/// But at least it contains some more documentation as someone would expect
|
||||
/// from a simple test case like this. Though, this shouldn't appear in the
|
||||
/// output.
|
||||
#[no_mangle]
|
||||
pub extern "C" fn root() {
|
||||
}
|
||||
|
||||
/// A little above the root, and a lot more visible, with a run-on sentence
|
||||
/// to test going over the first line.
|
||||
///
|
||||
/// Still not here, though.
|
||||
#[no_mangle]
|
||||
pub extern "C" fn trunk() {
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
documentation_length = "short"
|
||||
Reference in New Issue
Block a user