Add documentation_style to with short and full options

This commit is contained in:
Sean McArthur
2021-09-15 17:25:12 -07:00
committed by Emilio Cobos Álvarez
parent 24c130bd9c
commit 0e3f9bd9cb
11 changed files with 133 additions and 2 deletions
+16
View File
@@ -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() {
}
+1
View File
@@ -0,0 +1 @@
documentation_length = "short"