]> git.lizzy.rs Git - rust.git/blobdiff - tests/source/issue-2520.rs
Prevent duplicate comma when formatting struct pattern with ".."
[rust.git] / tests / source / issue-2520.rs
index a6557340eabecaf41f098f7c04c71a60cb2f9814..5a23f10430d1a6bdc935efbc794ed5bb2e92b4fd 100644 (file)
@@ -1,7 +1,13 @@
 // rustfmt-normalize_comments: true
+// rustfmt-format_code_in_doc_comments: true
 
 //! ```rust
 //! println!( "hello, world" );
 //! ```
 
 #![deny( missing_docs )]
+
+//! ```rust
+//! println!("hello, world");
+
+#![deny( missing_docs )]