rfcs
rfcs copied to clipboard
RFCs for changes to Rust
**Issue by [BryanQuigley](https://github.com/BryanQuigley)** _Saturday Dec 13, 2014 at 03:46 GMT_ _For earlier discussion, see https://github.com/rust-lang/rust/issues/19801_ _This issue was labelled with: A-an-interesting-project, E-hard in the Rust repository_ --- It seems like...
[Rendered](https://github.com/tgross35/rfcs/blob/stackvec/text/3316-array-vec.md) This RFC seeks to add a representation for variable-length data within a fixed-size array, with an interface similar to `Vec`. Goals are to unite and clarify existing concepts in...
[**Rendered**](https://github.com/Jules-Bertholet/rfcs/blob/aligned-trait/text/3319-aligned-trait.md) Add an `Aligned` trait to `core::marker`, as a supertrait of `Sized`. [Implementation](https://github.com/Jules-Bertholet/rust/tree/aligned)
I started this a jillion years ago, and have been meaning to clean it up and submit it for a long time. The intention is to remove most (ideally all)...
I'm finding myself wanting to divide a Duration into another Duration, to get a percentage as a float (convert to float and then divide), and to multiply/divide Durations by Floats...
RFC 3309 moved the style guide to `rust-lang/rust`. In addition, the link from [RFC 2436](https://rust-lang.github.io/rfcs/2436-style-guide.html) to the style guide does not seem to have ever worked, and the style guide...
[Rendered](https://github.com/y86-dev/rfcs/blob/field-projection/text/3318-field-projection.md) Also see the [pre-RFC discussion](https://internals.rust-lang.org/t/pre-rfc-field-projection/17383/57). # Unresolved questions - [ ] How should the limited negative reasoning look like? What are the limitations? [Discussed at zulip](https://rust-lang.zulipchat.com/#narrow/stream/213817-t-lang/topic/Limited.20negative.20reasoning.20for.20RFC.233318/near/347134881) - [ ]...
I wasn't sure if this needed an RFC or not. It's a rather minor feature, however, it is a user-visible change, and since I've already written one, I thought I'd...
This RFC proposes a minor addition to the trait declaration syntax as follows: ```rust dyn trait MyTrait { /* */ } ``` This syntax would enforce that the trait be...
I think asserts are a pretty common thing, especially in unsafe rust (checking sizes/alignments etc.) Now with anonymous consts we can already do things like: ``` use std::mem::*; #[macro_export] macro_rules!...