<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>rust Archives - onlinetutorialspoint</title>
	<atom:link href="https://onlinetutorialspoint.com/category/rust/feed/" rel="self" type="application/rss+xml" />
	<link>https://onlinetutorialspoint.com/category/rust/</link>
	<description>OnlineTutorialsPoint</description>
	<lastBuildDate>Tue, 29 Jul 2025 17:20:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>

<image>
	<url>https://onlinetutorialspoint.com/wp-content/uploads/2016/01/cropped-apple-icon-152x152-32x32.png</url>
	<title>rust Archives - onlinetutorialspoint</title>
	<link>https://onlinetutorialspoint.com/category/rust/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Rust – Lambda (Closure) Examples</title>
		<link>https://onlinetutorialspoint.com/rust/rust-lambda-closure-examples/</link>
					<comments>https://onlinetutorialspoint.com/rust/rust-lambda-closure-examples/#respond</comments>
		
		<dc:creator><![CDATA[chandrashekhar]]></dc:creator>
		<pubDate>Tue, 29 Jul 2025 17:20:35 +0000</pubDate>
				<category><![CDATA[rust]]></category>
		<guid isPermaLink="false">https://onlinetutorialspoint.com/?p=13640</guid>

					<description><![CDATA[<p>In Rust, closures (often called lambdas in other languages) are anonymous functions you can save in a variable or pass as an argument. They are very useful for short, inline behavior—especially with collections like vectors. In this article, we will look at several simple examples of using closures in Rust. 1. Simple Closure (No Parameter)</p>
<p>The post <a href="https://onlinetutorialspoint.com/rust/rust-lambda-closure-examples/">Rust – Lambda (Closure) Examples</a> appeared first on <a href="https://onlinetutorialspoint.com">onlinetutorialspoint</a>.</p>
]]></description>
		
					<wfw:commentRss>https://onlinetutorialspoint.com/rust/rust-lambda-closure-examples/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Rust – Foreach Examples</title>
		<link>https://onlinetutorialspoint.com/rust/rust-foreach-tutorial-examples/</link>
					<comments>https://onlinetutorialspoint.com/rust/rust-foreach-tutorial-examples/#respond</comments>
		
		<dc:creator><![CDATA[chandrashekhar]]></dc:creator>
		<pubDate>Tue, 29 Jul 2025 15:27:14 +0000</pubDate>
				<category><![CDATA[rust]]></category>
		<guid isPermaLink="false">https://onlinetutorialspoint.com/?p=13637</guid>

					<description><![CDATA[<p>In Rust, you can loop through collections like Vec, HashMap, or arrays using the .iter() method combined with .for_each(). The for_each method takes a closure (anonymous function) and applies it to each element in the collection. This article shows some common examples of using for_each in Rust. 1. Basic for_each with Vec fn main() {</p>
<p>The post <a href="https://onlinetutorialspoint.com/rust/rust-foreach-tutorial-examples/">Rust – Foreach Examples</a> appeared first on <a href="https://onlinetutorialspoint.com">onlinetutorialspoint</a>.</p>
]]></description>
		
					<wfw:commentRss>https://onlinetutorialspoint.com/rust/rust-foreach-tutorial-examples/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
