<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Vecdeque on rustbites</title><link>https://www.rustbites.com/tags/vecdeque/</link><description>Recent content in Vecdeque on rustbites</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 14 Apr 2026 09:57:27 +0200</lastBuildDate><atom:link href="https://www.rustbites.com/tags/vecdeque/index.xml" rel="self" type="application/rss+xml"/><item><title>80. VecDeque::pop_front_if and pop_back_if — Conditional Pops on Both Ends</title><link>https://www.rustbites.com/posts/bite-080/</link><pubDate>Tue, 14 Apr 2026 08:00:00 +0100</pubDate><guid>https://www.rustbites.com/posts/bite-080/</guid><description>&lt;p&gt;&lt;code&gt;Vec::pop_if&lt;/code&gt; got a deque-shaped sibling. As of Rust 1.93, &lt;code&gt;VecDeque&lt;/code&gt; has &lt;code&gt;pop_front_if&lt;/code&gt; and &lt;code&gt;pop_back_if&lt;/code&gt; — conditional pops on either end without the peek-then-pop dance.&lt;/p&gt;</description></item></channel></rss>