+// rustfmt-normalize_comments: true
+// rustfmt-wrap_comments: true
+
//! Doc comment
fn test() {
+ //! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam
+ //! lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam
+
// comment
// comment2
- code(); /* leave this comment alone!
- * ok? */
+ // FIXME(1275)
+ code(); // leave this comment alone!
+ // ok?
// Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a
// diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam
// self.config)
// .unwrap());
- funk(); //dontchangeme
- // or me
+ funk(); // dontchangeme
+ // or me
}
/// test123
-fn doc_comment() {
-}
+fn doc_comment() {}
fn chains() {
foo.bar(|| {
- let x = 10;
- // comment
- x
- })
+ let x = 10;
+ // comment
+ x
+ })
+}
+
+fn issue_1086() {
+ //
+}
+
+// random comment
+
+fn main() {
+ // Test
}