summaryrefslogtreecommitdiffstats
path: root/tests/rust/doclength_short.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rust/doclength_short.rs')
-rw-r--r--tests/rust/doclength_short.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/rust/doclength_short.rs b/tests/rust/doclength_short.rs
new file mode 100644
index 0000000..363a245
--- /dev/null
+++ b/tests/rust/doclength_short.rs
@@ -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() {
+}