about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-02-13 21:43:28 +0000
committerbors <bors@rust-lang.org>2016-02-13 21:43:28 +0000
commit6e446532e835ed3c934eec5a98bb795c0ffd4e50 (patch)
tree0ecb490ba0095306f74a9ecfc40b07a53c20d805 /src/test
parentc438802aa7a90be2e47fc2c7e6c4dd6f8b80c5af (diff)
parent5c98ae34a6764deb60f9311cdeca6c7df328cbc8 (diff)
downloadrust-6e446532e835ed3c934eec5a98bb795c0ffd4e50.tar.gz
rust-6e446532e835ed3c934eec5a98bb795c0ffd4e50.zip
Auto merge of #31602 - mitaa:rdoc_doc_shorter, r=alexcrichton
fixes #25787
fixes #30366

r? @alexcrichton
Diffstat (limited to 'src/test')
-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() { }