<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Formatting on rustbites</title><link>https://www.rustbites.com/tags/formatting/</link><description>Recent content in Formatting on rustbites</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 06 Apr 2026 08:42:25 +0200</lastBuildDate><atom:link href="https://www.rustbites.com/tags/formatting/index.xml" rel="self" type="application/rss+xml"/><item><title>63. fmt::from_fn — Display Anything With a Closure</title><link>https://www.rustbites.com/posts/bite-063/</link><pubDate>Sun, 05 Apr 2026 17:00:00 +0100</pubDate><guid>https://www.rustbites.com/posts/bite-063/</guid><description>&lt;p&gt;Need a quick &lt;code&gt;Display&lt;/code&gt; impl without defining a whole new type? &lt;code&gt;std::fmt::from_fn&lt;/code&gt; turns any closure into a formattable value — ad-hoc Display in one line.&lt;/p&gt;</description></item></channel></rss>