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