about summary refs log tree commit diff
path: root/src/rustdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rustdoc')
-rw-r--r--src/rustdoc/demo.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/rustdoc/demo.rs b/src/rustdoc/demo.rs
index 924c7d73ee6..4feae4106a5 100644
--- a/src/rustdoc/demo.rs
+++ b/src/rustdoc/demo.rs
@@ -167,4 +167,15 @@ iface the_shunned_house {
         failure = "Will fail if bodies are removed from premises"
     )]
     fn construct() -> bool;
+}
+
+#[doc = "Whatever"]
+impl of the_shunned_house for omnomnomy {
+    #[doc(args(_unkempt_yard = "Whatever"))]
+    fn dingy_house(_unkempt_yard: int) {
+    }
+
+    fn construct() -> bool {
+        fail;
+    }
 }
\ No newline at end of file