From: Scott Worley Date: Mon, 17 Nov 2025 18:41:31 +0000 (-0800) Subject: slice_concat_trait will never be stabilized. :( X-Git-Url: http://git.scottworley.com/tablify/commitdiff_plain/HEAD slice_concat_trait will never be stabilized. :( 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." --- diff --git a/src/lib.rs b/src/lib.rs index 23667a1..11ee0c3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -320,7 +320,7 @@ fn render_instances(instances: &[Option], mark: Option<&str>) -> HTML { } HTML( out.into_iter() - .map(|html| html.0) // Waiting for slice_concat_trait to stabilize + .map(|html| html.0) .collect::>() .join(" "), ) @@ -380,7 +380,7 @@ fn render_all_leftovers(config: &Config, row: &Row) -> HTML { row.entries.get(notcol).expect("Key vanished?!"), ) }) - .map(|html| html.0) // Waiting for slice_concat_trait to stabilize + .map(|html| html.0) .collect::>() .join(", "), )