1 // Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
13 // some single-line non-doc comment
15 /// some single line outer-docs
19 //! some single line inner-docs
22 //////////////////////////////////
23 // some single-line non-doc comment preceded by a separator
25 //////////////////////////////////
26 /// some single-line outer-docs preceded by a separator
27 /// (and trailing whitespaces)
31 * some multi-line non-doc comment
35 * some multi-line outer-docs
41 * some multi-line inner-docs
45 /********************************/
47 * some multi-line non-doc comment preceded by a separator
50 /********************************/
52 * some multi-line outer-docs preceded by a separator
56 #[doc = "unsugared outer doc-comments work also"]
60 #![doc = "as do inner ones"]