Skip to content

Commit e8a5d81

Browse files
committed
rustdoc: Add impl docs to demo mod
1 parent 77824cf commit e8a5d81

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/rustdoc/demo.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,15 @@ iface the_shunned_house {
167167
failure = "Will fail if bodies are removed from premises"
168168
)]
169169
fn construct() -> bool;
170+
}
171+
172+
#[doc = "Whatever"]
173+
impl of the_shunned_house for omnomnomy {
174+
#[doc(args(_unkempt_yard = "Whatever"))]
175+
fn dingy_house(_unkempt_yard: int) {
176+
}
177+
178+
fn construct() -> bool {
179+
fail;
180+
}
170181
}

0 commit comments

Comments
 (0)