Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
## Motivation and Summary [summary]: #summary While architectures like `x86_64` or `ARMv8` define the lowest-common denominator of instructions that all CPUs must support, many CPUs extend these with vector ([AVX](https://en.wikipedia.org/w...
github.com RFC 2045 RFC 2017-06-26 ~20 min read
## Summary [summary]: #summary Allow a `break` of labelled blocks with no loop, which can carry a value. ## Motivation [motivation]: #motivation In its simplest form, this allows you to terminate a block early, the same way that `return` al...
github.com RFC 2046 RFC 2017-06-26 ~3 min read
## Summary [summary]: #summary Rust's ecosystem, tooling, documentation, and compiler are constantly improving. To make it easier to follow development, and to provide a clear, coherent "rallying point" for this work, this RFC proposes that...
github.com RFC 2052 RFC 2017-06-26 ~23 min read
## Summary [summary]: #summary Add an intrinsic (`fn align_offset(ptr: *const (), align: usize) -> usize`) which returns the number of bytes that need to be skipped in order to correctly align the pointer `ptr` to `align`. The intrinsic is...
github.com RFC 2043 RFC 2017-06-20 ~7 min read
## Summary [summary]: #summary This is an **experimental RFC** for adding a new feature to the language, coroutines (also commonly referred to as generators). This RFC is intended to be relatively lightweight and bikeshed free as it will be...
github.com RFC 2033 RFC 2017-06-15 ~16 min read
## Summary [summary]: #summary Tweak the object safety rules to allow using trait object types for static dispatch, even when the trait would not be safe to instantiate as an object. ## Motivation [motivation]: #motivation Because Rust feat...
github.com RFC 2027 RFC 2017-06-10 ~3 min read
## Summary [summary]: #summary Add dedicated methods to RefCell for replacing and swapping the contents. These functions will panic if the RefCell is currently borrowed, but will otherwise behave exactly like their cousins on Cell. ## Motiv...
github.com RFC 2057 RFC 2017-06-09 ~2 min read
## Summary [summary]: #summary Enable "nested method calls" where the outer call is an `&mut self` borrow, such as `vec.push(vec.len())` (where `vec: Vec<usize>`). This is done by extending MIR with the concept of a **two-phase borrow**; in...
github.com RFC 2025 RFC 2017-06-06 ~28 min read
## Summary This RFC introduces the `#[non_exhaustive]` attribute for enums and structs, which indicates that more variants/fields may be added to an enum/struct in the future. Adding this hint to enums will force downstream crates to add a...
github.com RFC 2008 RFC 2017-05-24 ~12 min read
## Summary [summary]: #summary Make the `assert!` macro recognize more expressions (utilizing the power of procedural macros), and extend the readability of debug dumps. ## Motivation [motivation]: #motivation While clippy warns about `asse...
github.com RFC 2011 RFC 2017-05-24 ~3 min read
## Summary [summary]: #summary Allow types to be generic over constant values; among other things this will allow users to write impls which are abstract over all array types. ## Motivation [motivation]: #motivation Rust currently has one t...
github.com RFC 2000 RFC 2017-05-01 ~11 min read
## Summary [summary]: #summary Amend [RFC 1242] to require an RFC for deprecation of crates from the rust-lang-nursery. [RFC 1242]: https://github.com/rust-lang/rfcs/blob/master/text/1242-rust-lang-crates.md ## Motivation [motivation]: #mot...
github.com RFC 1983 RFC 2017-04-26 ~1 min read
## Summary [summary]: #summary Documentation is an important part of any project, it allows developers to explain how to use items within a library as well as communicate the intent of how to use it through examples. Rust has long champione...
github.com RFC 1990 RFC 2017-04-26 ~7 min read
## Summary [summary]: #summary Official web content produced by the Rust teams for consumption by Rust users should work in the majority of browsers that Rust users are visiting these sites in. The Rust compiler only supports [a finite numb...
github.com RFC 1985 RFC 2017-04-25 ~8 min read
## Summary [summary]: #summary Introduce a public/private distinction to crate dependencies. ## Motivation [motivation]: #motivation The crates ecosystem has greatly expanded since Rust 1.0. With that, a few patterns for dependencies have e...
github.com RFC 1977 RFC 2017-04-03 ~16 min read
## Summary [summary]: #summary Add functions to the language which take a value and an inclusive range, and will "clamp" the input to the range. I.E. ```Rust if input > max { return max; } else if input < min { return min; } else { return i...
github.com RFC 1961 RFC 2017-03-26 ~2 min read
## Summary [summary]: #summary This RFC proposes the concept of *patching sources* for Cargo. Sources can be have their existing versions of crates replaced with different copies, and sources can also have "prepublished" crates by adding ve...
github.com RFC 1969 RFC 2017-03-22 ~13 min read
## Summary [summary]: #summary This RFC proposes several steps forward for `impl Trait`: - Settling on a particular syntax design, resolving questions around the `some`/`any` proposal and others. - Resolving questions around which type and...
github.com RFC 1951 RFC 2017-03-12 ~31 min read
## Summary [summary]: #summary Add a notation how to create relative links in documentation comments (based on Rust item paths) and extend Rustdoc to automatically turn this into working links. ## Motivation [motivation]: #motivation It is...
github.com RFC 1946 RFC 2017-03-06 ~14 min read
## Summary [summary]: #summary This is a proposal for the rust grammar to support a vert `|` at the beginning of the pattern. Consider the following example: ```rust use E::*; enum E { A, B, C, D } // This is valid Rust match foo { A | B |...
github.com RFC 1925 RFC 2017-02-23 ~4 min read
"A Box always holds exactly one thing, like a single large struct. A Vec holds zero to many things of exactly one type and can change over time. If you..."

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, and research. 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.
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.