Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
e003: No. more. nulls.
16:51
New Rustacean newrustacean.com
...Well, in Rust, you would do this with pattern matching. When you pattern match in Rust, you must match exhaustively. That is, you must cover every single case in the space you are matching against. So in the case of our list of three colors, your pattern matching block would...
Podcast 2015-10-21 16:51
News: Rust 1.26
17:27
New Rustacean newrustacean.com
impl trait, match on references, Results from main, and more. A good way to mark three years since Rust 1.0! Show Notes Rust 1.26: blog post release notes RFC #2115 The Rusty Spike webassembly.studio burntsushi’s now-1.0 crates: regex csv docopt Search crates VS Code...
Podcast 2018-05-15 17:27
 What's New in Rust 1.40
49:19
Rustacean Station rustacean-station.org
...It means that no one can match on your type without including the underscore pattern. When they do the match, they always need to write the code under the assumption that more things might be added. And there are a lot of places where this makes sense. So one case...
Podcast 2020-01-13 49:19
e012: I'm not familiar with that expression
16:41
New Rustacean newrustacean.com
...They aren't match statements, they're match expressions. Thus, you can assign the result of a match expression. So if you were matching on a boolean named bar, you could write let foo equals match bar with the body of the match expression having arms for the true and...
Podcast 2016-03-21 16:41
 What's New in the Rust 2024 Edition
1:13:35
Rustacean Station rustacean-station.org
...Right? You can say, oh, like, if is, like, if is a can be compiled to a match. I can transform this if into a match and then just write the code for the match once and generate code for a match. And you see this with, like, you know...
Podcast 2026-01-23 1:13:35
 What's New in Rust 1.54 and 1.55
44:28
Rustacean Station rustacean-station.org
...This next one is sort of a small change seemingly, right? So this is open range patterns in match statements. The idea is that if you match on, say, an integer, you can say, I want to match on zero to four, and then I want to match on five...
Podcast 2021-10-25 44:28
 Idiomatic Rust with Brenden Matthews
56:25
Rustacean Station rustacean-station.org
...But pattern matching is still great. The only problem is just sometimes you can get really deeply nested or really complicated pattern matches. And I think generally the solution to that is to just not do that. And by not do that, I just mean if your matching is getting...
Podcast 2025-01-04 56:25
 What's New in Rust 1.42 and 1.43
1:10:53
Rustacean Station rustacean-station.org
...Like, I want to match match on this pattern, but also bind the entire thing, not just the inside, but the entire thing to some name. Well, specifically, like, bind bind it to this name if it matches. Mhmm. So for example, if I have, like, an array of, like...
Podcast 2020-05-08 1:10:53
News: Rust 1.25
14:12
New Rustacean newrustacean.com
Paths and matches and SIMD, cargo new changes, and tons of community-driven learning materials! Show Notes Rust 1.25.0 blog post RFC #1358 – #[repr(align)] RFC #2325 – SIMD stabilization RustConf CFP Hello Rust “Functional and Concurrent Programming in Rust” Sponsors Aaron Turon Alexander Payne Anthony Deschamps Anthony Scotti...
Podcast 2018-03-31 14:12
RBR 2017: Ben Striegel
6:10
New Rustacean newrustacean.com
...Actually, so one thing that they mentioned today here at Rust Belt and Rust is in the keynote was the the match ergonomics thing where, like, just like, I'm always like, hey, star over here or, like, you know, ref over here or, like, should it be an ampersand...
Podcast 2017-12-10 6:10
e021: Keeping your types under cover
17:28
New Rustacean newrustacean.com
...Destructuring assignment uses the same kind of syntax as pattern matching, but it does it outside the body of a match expression. It lets you bind directly to any public member in the interior of a struct or enum variant. You should note, though, that you can't do this...
Podcast 2017-07-18 17:28
 What's New in Rust 1.39
43:03
Rustacean Station rustacean-station.org
...Specifically, the issue is if you match on a type and in the pattern, you try to move something out of the match. So this could be something like you match on an option or you match on a result. And when you pattern match on okay, you try to...
Podcast 2019-11-26 43:03
 What's New in Rust 1.52 and 1.53
1:07:08
Rustacean Station rustacean-station.org
...So this is when you write a match, then it used to be that you could only really match one pattern or another pattern. So you could say Let's say you're matching on an error type, like an IO error, and you want it to match on one...
Podcast 2021-07-12 1:07:08
Rust with Niko Matsakis
56:43
Rust in Production corrode.dev
...You can either write like match, try, open thing, lots of code, close, curly, open curly, which is very awkward. And it just seems weird. You've got this match that by the time you see the arms of the match, you kind of...
Podcast 2025-05-29 56:43
 What's New in Rust 1.65, 1.66, and 1.67
1:25:30
Rustacean Station rustacean-station.org
...It lets you use pattern matching on anything. Right? Because you can use patterns and pattern matching on not just an enum, but on structs and on tuples and on arrays and all those kind of things. It lets you pattern match on a thing and then say, like if...
Podcast 2023-02-13 1:25:30
 What's New in Rust 1.48 and 1.49
44:36
Rustacean Station rustacean-station.org
...Previously, you had the choice of either matching those fields by reference or matching them by move, right? So if you do a match foo, then you can write the pattern as foo x, y. And then in the match arm, you can either sort of move x and y...
Podcast 2021-01-13 44:36
sans-io: meh
37:12
Self-Directed Research sdr-podcast.com
...And to not have weird like loop match statements where you're like doing manual state machine changes. Someone even in the Rust subreddit today posted something where they're like, "Can I do this?" And they posted some loop match. And I'm like, "If you just use a...
Podcast 2025-06-11 37:12
 What's New in Rust 1.79 and 1.80
1:27:46
Rustacean Station rustacean-station.org
...And then if let just happened because of some naive desugaring to match to to match match as opposed to matching if. I'm doing the same thing. I'm just I was gonna say you're doing the exact same thing as the headline. Anyway, as far as this...
Podcast 2025-05-10 1:27:46
CYSK: quick-xml
8:38
New Rustacean newrustacean.com
...Then to do whatever transformations you need to do, you can just match on the event type and transform the data you get out of it. In Lightning, that translated to pulling the events out of the XML reader instance, inspecting them to see if they were important for syntax...
Podcast 2017-01-09 8:38
Rising with Dylan Brown
43:11
Rust in Production corrode.dev
...In a lot of cases, I would prefer that because to me, it's about, sure, you might have foo, bar, and bass now, but you might want to add another variant, right? And if you put an underscore match arm to handle foo...
Podcast 2026-07-02 43:11
"References are not pointers, but temporary locks on data"

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, research, crates, and Rust API documentation. These operators give you finer control — click an example to try it.

Find pages containing all your words. Pages where the words appear together rank higher.
Quote part of your query to keep those words together as an exact phrase within a larger search.
Wrap the whole query in quotes for a verbatim search that matches text exactly, punctuation and all — perfect for Rust syntax. Needs at least 3 characters.
Put ! first to open the top result immediately. Quote the whole query for a literal leading bang, as in '!Send'. Bangs elsewhere, such as println!, stay literal. Browser and launcher shortcuts can invoke this directly. See search integrations.
Limit results to a single site. Works on its own () too. One site: per search.

Use the tabs and filters above the results to narrow by content type, publication year, and sort order.