about summary refs log tree commit diff
path: root/src/test/rustdoc/issue-30366.rs
diff options
context:
space:
mode:
authormitaa <mitaa.ceb@gmail.com>2016-02-12 13:45:07 +0100
committermitaa <mitaa.ceb@gmail.com>2016-02-12 14:12:27 +0100
commit5c98ae34a6764deb60f9311cdeca6c7df328cbc8 (patch)
tree4ade2058f1a418146e608b23211a96b673bf9ab4 /src/test/rustdoc/issue-30366.rs
parent77f9231818514c4ded23e6aa1ae431a8ba4668bf (diff)
downloadrust-5c98ae34a6764deb60f9311cdeca6c7df328cbc8.tar.gz
rust-5c98ae34a6764deb60f9311cdeca6c7df328cbc8.zip
Shorten docstrings after Markdown rendering
Diffstat (limited to 'src/test/rustdoc/issue-30366.rs')
-rw-r--r--src/test/rustdoc/issue-30366.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test/rustdoc/issue-30366.rs b/src/test/rustdoc/issue-30366.rs
new file mode 100644
index 00000000000..e622257b8f0
--- /dev/null
+++ b/src/test/rustdoc/issue-30366.rs
@@ -0,0 +1,16 @@
+// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
+// @has issue_30366/index.html '//a/@href' 'http://www.rust-lang.org/'
+
+/// Describe it. [Link somewhere][1].
+///
+/// [1]: http://www.rust-lang.org/
+pub fn here_is_a_fn() { }