Searching rust documentation for match


#1

Has anyone tried searching the rust documentation (https://doc.rust-lang.org/std/) for “match”?

I’m not having any luck finding an entry for the match keyword. There are plenty of results, but nothing for the basic match keyword.


#2

That link goes directly to the standard library reference. Since match is part of the language rather than the standard library, it’s introduced in The Rust Programming Language book instead:

https://doc.rust-lang.org/book/second-edition/ch06-02-match.html

It’s unfortunate that we don’t have an integrated search box that covers all of the official documentation.