1 #![crate_name = "foo"] 2 3 // @has foo/fn.f.html 4 // @has - //ol/li "list" 5 // @has - //ol/li/ol/li "fooooo" 6 // @has - //ol/li/ol/li "x" 7 // @has - //ol/li "foo" 8 /// 1. list 9 /// 1. fooooo 10 /// 2. x 11 /// 2. foo f()12pub fn f() {} 13 14 // @has foo/fn.foo2.html 15 // @has - //ul/li "normal list" 16 // @has - //ul/li/ul/li "sub list" 17 // @has - //ul/li/ul/li "new elem still same elem and again same elem!" 18 // @has - //ul/li "new big elem" 19 /// * normal list 20 /// * sub list 21 /// * new elem 22 /// still same elem 23 /// 24 /// and again same elem! 25 /// * new big elem foo2()26pub fn foo2() {} 27