]> git.lizzy.rs Git - rust.git/blobdiff - src/config/lists.rs
Fix bugs related to file-lines (#3684)
[rust.git] / src / config / lists.rs
index 86faab57d16acfc55700152f8a764142a57c901c..11cb17068fb4aef9dc61b08520ab34cfb0630e49 100644 (file)
@@ -1,6 +1,6 @@
 //! Configuration options related to rewriting a list.
 
-use config_proc_macro::config_type;
+use rustfmt_config_proc_macro::config_type;
 
 use crate::config::IndentStyle;
 
@@ -28,15 +28,15 @@ pub fn ends_with_newline(&self, indent_style: IndentStyle) -> bool {
 /// their comments.
 #[config_type]
 pub enum ListTactic {
-    // One item per row.
+    /// One item per row.
     Vertical,
-    // All items on one row.
+    /// All items on one row.
     Horizontal,
-    // Try Horizontal layout, if that fails then vertical.
+    /// Try Horizontal layout, if that fails then vertical.
     HorizontalVertical,
-    // HorizontalVertical with a soft limit of n characters.
+    /// HorizontalVertical with a soft limit of n characters.
     LimitedHorizontalVertical(usize),
-    // Pack as many items as possible per row over (possibly) many rows.
+    /// Pack as many items as possible per row over (possibly) many rows.
     Mixed,
 }