From e8a5d81b24967abe53509e187cef60ce8d2fe5cd Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Tue, 31 Jan 2012 20:59:42 -0800 Subject: [PATCH] rustdoc: Add impl docs to demo mod --- src/rustdoc/demo.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/rustdoc/demo.rs b/src/rustdoc/demo.rs index 924c7d73ee64..4feae4106a5f 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