2015-04-06 20:49:30 +00:00
|
|
|
// @has smoke/index.html
|
2013-12-17 17:05:36 +00:00
|
|
|
|
|
|
|
//! Very docs
|
|
|
|
|
2015-04-06 20:49:30 +00:00
|
|
|
// @has smoke/bar/index.html
|
2013-12-17 17:05:36 +00:00
|
|
|
pub mod bar {
|
|
|
|
|
|
|
|
/// So correct
|
2015-04-06 20:49:30 +00:00
|
|
|
// @has smoke/bar/baz/index.html
|
2013-12-17 17:05:36 +00:00
|
|
|
pub mod baz {
|
|
|
|
/// Much detail
|
2015-04-06 20:49:30 +00:00
|
|
|
// @has smoke/bar/baz/fn.baz.html
|
2013-12-17 17:05:36 +00:00
|
|
|
pub fn baz() { }
|
|
|
|
}
|
|
|
|
|
|
|
|
/// *wow*
|
2015-04-06 20:49:30 +00:00
|
|
|
// @has smoke/bar/trait.Doge.html
|
2015-02-12 15:29:52 +00:00
|
|
|
pub trait Doge { fn dummy(&self) { } }
|
2014-07-11 18:59:18 +00:00
|
|
|
|
2015-04-06 20:49:30 +00:00
|
|
|
// @has smoke/bar/struct.Foo.html
|
2015-03-26 00:06:52 +00:00
|
|
|
pub struct Foo { x: isize, y: usize }
|
2014-07-11 18:59:18 +00:00
|
|
|
|
2015-04-06 20:49:30 +00:00
|
|
|
// @has smoke/bar/fn.prawns.html
|
2015-03-26 00:06:52 +00:00
|
|
|
pub fn prawns((a, b): (isize, usize), Foo { x, y }: Foo) { }
|
2013-12-17 17:05:36 +00:00
|
|
|
}
|