rustdoc: Add impl docs to demo mod

This commit is contained in:
Brian Anderson 2012-01-31 20:59:42 -08:00
parent 77824cf2ed
commit e8a5d81b24

View file

@ -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;
}
}