diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-01-31 20:59:42 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-01-31 20:59:42 -0800 |
| commit | e8a5d81b24967abe53509e187cef60ce8d2fe5cd (patch) | |
| tree | d1182a35c4e49bd875f7e594fe343daf5d645831 /src/rustdoc | |
| parent | 77824cf2edd63ec1bfbb6e709b29b3c671b3d2e7 (diff) | |
| download | rust-e8a5d81b24967abe53509e187cef60ce8d2fe5cd.tar.gz rust-e8a5d81b24967abe53509e187cef60ce8d2fe5cd.zip | |
rustdoc: Add impl docs to demo mod
Diffstat (limited to 'src/rustdoc')
| -rw-r--r-- | src/rustdoc/demo.rs | 11 |
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 |
