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.
11 // compile-flags: --crate-type=lib
15 // some single-line non-doc comment
17 /// some single line outer-docs
21 //! some single line inner-docs
24 //////////////////////////////////
25 // some single-line non-doc comment preceded by a separator
27 //////////////////////////////////
28 /// some single-line outer-docs preceded by a separator
29 /// (and trailing whitespaces)
33 * some multi-line non-doc comment
37 * some multi-line outer-docs
43 * some multi-line inner-docs
47 /********************************/
49 * some multi-line non-doc comment preceded by a separator
52 /********************************/
54 * some multi-line outer-docs preceded by a separator
58 #[doc = "unsugared outer doc-comments work also"]
62 #![doc = "as do inner ones"]