Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
## Summary [summary]: #summary Allow the `?` operator to be used in `main`, and in `#[test]` functions and doctests. To make this possible, the return type of these functions are generalized from `()` to a new trait, provisionally called `T...
github.com RFC 1937 RFC 2017-02-22 ~21 min read
## Summary [summary]: #summary Allow for local variables, function arguments, and some expressions to have an unsized type, and implement it by storing the temporaries in variably-sized allocas. Have repeat expressions with a length that ca...
github.com RFC 1909 RFC 2017-02-11 ~7 min read
## Summary [summary]: #summary Deprecate `mem::uninitialized::<T>` and `mem::zeroed::<T>` and replace them with a `MaybeUninit<T>` type for safer and more principled handling of uninitialized data. ## Motivation [motivation]: #motivation Th...
github.com RFC 1892 RFC 2017-02-09 ~8 min read
## Summary [summary]: #summary Overhaul the global allocator APIs to put them on a path to stabilization, and switch the default allocator to the system allocator when the feature stabilizes. This RFC is a refinement of the previous [RFC 11...
github.com RFC 1974 RFC 2017-02-04 ~6 min read
## Summary [summary]: #summary Add an unstable sort to libcore. ## Motivation [motivation]: #motivation At the moment, the only sort function we have in libstd is `slice::sort`. It is stable, allocates additional memory, and is unavailable...
github.com RFC 1884 RFC 2017-02-03 ~5 min read
## Summary [summary]: #summary Improve the `assert_eq` failure message formatting to increase legibility. [Previous RFC issue](https://github.com/rust-lang/rfcs/issues/1864). ## Motivation [motivation]: #motivation Currently when `assert_eq...
github.com RFC 1866 RFC 2017-01-23 ~1 min read
## Summary [summary]: #summary This RFC proposes the addition of two macros to the global prelude, `eprint!` and `eprintln!`. These are exactly the same as `print!` and `println!`, respectively, except that they write to standard error inst...
github.com RFC 1869 RFC 2017-01-23 ~5 min read
## Summary [summary]: #summary Include the `ManuallyDrop` wrapper in `core::mem`. ## Motivation [motivation]: #motivation Currently Rust does not specify the order in which the destructors are run. Furthermore, this order differs depending...
github.com RFC 1860 RFC 2017-01-20 ~3 min read
## Summary [summary]: #summary I propose we specify and stabilize drop order in Rust, instead of treating it as an implementation detail. The stable drop order should be based on the current implementation. This results in avoiding breakage...
github.com RFC 1857 RFC 2017-01-19 ~5 min read
## Summary [summary]: #summary Introduce a trait `Try` for customizing the behavior of the `?` operator when applied to types other than `Result`. ## Motivation [motivation]: #motivation ### Using `?` with types other than `Result` The `?`...
github.com RFC 1859 RFC 2017-01-19 ~14 min read
## Summary [summary]: #summary Add an `extern type` syntax for declaring types which are opaque to Rust's type system. ## Motivation [motivation]: #motivation When interacting with external libraries we often need to be able to handle point...
github.com RFC 1861 RFC 2017-01-18 ~5 min read
## Summary [summary]: #summary Tuple `struct`s can now be constructed and pattern matched with `Self(v1, v2, ..)`. A simple example: ```rust struct TheAnswer(usize); impl Default for TheAnswer { fn default() -> Self { Self(42) } } ``` Simil...
github.com RFC 2302 RFC 2017-01-18 ~7 min read
## Summary [summary]: #summary This RFC proposes the addition of `Option::replace` to complete the `Option::take` method, it replaces the actual value in the option by `Some` with the value given in parameter, returning the old value if pre...
github.com RFC 2296 RFC 2017-01-16 ~1 min read
## UPDATE The lang team ultimately [decided to retract this RFC][retraction]. It was never implemented. The motivation for retraction was that the change was too prone to mis-use and did not provide adequate benefit. [retraction]: https://g...
github.com RFC 1849 RFC 2017-01-08 ~2 min read
## Summary [summary]: #summary This is an RFC to add the APIs: `From<&[T]> for Rc<[T]>` where [`T: Clone`][Clone] or [`T: Copy`][Copy] as well as `From<&str> for Rc<str>`. In addition: `From<Vec<T>> for Rc<[T]>` and `From<Box<T: ?Sized>> fo...
github.com RFC 1845 RFC 2017-01-05 ~12 min read
## Summary [summary]: #summary Create a "Rust Bookshelf" of learning resources for Rust. * Pull the book out of tree into `rust-lang/book`, which holds the second edition, currently. * Pull the nomicon and the reference out of tree and conv...
github.com RFC 1828 RFC 2016-12-25 ~3 min read
## Summary [summary]: #summary Change doc.rust-lang.org to redirect to the latest release instead of an alias of stable. Introduce a banner that contains a dropdown allowing users to switch between versions, noting when a release is not the...
github.com RFC 1826 RFC 2016-12-22 ~3 min read
## Summary [summary]: #summary Crates.io has many useful libraries for a variety of purposes, but it's difficult to find which crates are meant for a particular purpose and then to decide among the available crates which one is most suitabl...
github.com RFC 1824 RFC 2016-12-19 ~26 min read
## Summary [summary]: #summary There has long been a desire to expand the number of platform- and architecture-specific APIs in the standard library, and to offer subsets of the standard library for working in constrained environments. At t...
github.com RFC 1868 RFC 2016-11-15 ~20 min read
## Summary [summary]: #summary - Change `Cell<T>` to allow `T: ?Sized`. - Guarantee that `T` and `Cell<T>` have the same memory layout. - Enable the following conversions through the std lib: - `&mut T -> &Cell<T> where T: ?Sized` - `&Cell<...
github.com RFC 1789 RFC 2016-11-13 ~11 min read
"Rust doesn't end unsafety, it just builds a strong, high-visibility fence around it, with warning signs on the one gate to get inside. As opposed to C..."

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.