]> git.scottworley.com Git - tablify/commitdiff
slice_concat_trait will never be stabilized. :( master
authorScott Worley <scottworley@scottworley.com>
Mon, 17 Nov 2025 18:41:31 +0000 (10:41 -0800)
committerScott Worley <scottworley@scottworley.com>
Mon, 17 Nov 2025 18:41:31 +0000 (10:41 -0800)
From #27747: "We discussed this in the libs team and the consensus is
that we will likely never stabilize the Concat and Join traits: these
will remain implementation details of the join and concat methods."

src/lib.rs

index 23667a1be543bd141b3d179e945ee477a33f26d7..11ee0c38912872503178c90e3efab5db0cf98e3a 100644 (file)
@@ -320,7 +320,7 @@ fn render_instances(instances: &[Option<String>], mark: Option<&str>) -> HTML {
     }
     HTML(
         out.into_iter()
     }
     HTML(
         out.into_iter()
-            .map(|html| html.0) // Waiting for slice_concat_trait to stabilize
+            .map(|html| html.0)
             .collect::<Vec<_>>()
             .join(" "),
     )
             .collect::<Vec<_>>()
             .join(" "),
     )
@@ -380,7 +380,7 @@ fn render_all_leftovers(config: &Config, row: &Row) -> HTML {
                     row.entries.get(notcol).expect("Key vanished?!"),
                 )
             })
                     row.entries.get(notcol).expect("Key vanished?!"),
                 )
             })
-            .map(|html| html.0) // Waiting for slice_concat_trait to stabilize
+            .map(|html| html.0)
             .collect::<Vec<_>>()
             .join(", "),
     )
             .collect::<Vec<_>>()
             .join(", "),
     )