<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Alignment on rustbites</title><link>https://www.rustbites.com/tags/alignment/</link><description>Recent content in Alignment on rustbites</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 21 Jun 2026 20:08:06 +0200</lastBuildDate><atom:link href="https://www.rustbites.com/tags/alignment/index.xml" rel="self" type="application/rss+xml"/><item><title>215. next_multiple_of — Round Up to a Multiple Without the +m-1 Dance</title><link>https://www.rustbites.com/posts/bite-215/</link><pubDate>Sun, 21 Jun 2026 09:00:00 +0100</pubDate><guid>https://www.rustbites.com/posts/bite-215/</guid><description>&lt;p&gt;Padding a length up to the next multiple of 8? The classic &lt;code&gt;(n + 7) / 8 * 8&lt;/code&gt; works right up until it overflows or you fat-finger the constant. &lt;code&gt;next_multiple_of&lt;/code&gt; says exactly what you mean.&lt;/p&gt;</description></item></channel></rss>