rfcs
rfcs copied to clipboard
RFCs for changes to Rust
I have some suggestions as to how to go about incorporating functions with the same function name as that of a dependency crate in order to prevent conflicts. rust-lang/rust#79524 has...
**Issue by [glaebhoerl](https://github.com/glaebhoerl)** _Monday Jan 27, 2014 at 21:17 GMT_ _For earlier discussion, see https://github.com/rust-lang/rust/issues/11855_ _This issue was labelled with: in the Rust repository_ --- Currently structs with destructors are...
[RFC 1733](https://github.com/rust-lang/rfcs/pull/1733) added trait aliases, like: ```rust trait IntoIntIterator = IntoIterator; ``` Well, why not allow putting those in traits, by analogy with associated types looking like type aliases? For...
**Issue by [tiffany352](https://github.com/tiffany352)** _Monday Sep 02, 2013 at 01:14 GMT_ _For earlier discussion, see https://github.com/rust-lang/rust/issues/8922_ _This issue was labelled with: A-typesystem, I-wishlist in the Rust repository_ --- Rust doesn't support...
I have a couple `[u8; 8]`s that I'd like to xor with each other. Unfortunately this doesn't work: ```rust let x = [0u8; 8]; let y = [1u8; 8]; let...
**Issue by [thestinger](https://github.com/thestinger)** _Sunday Oct 13, 2013 at 16:22 GMT_ _For earlier discussion, see https://github.com/rust-lang/rust/issues/9835_ _This issue was labelled with: I-enhancement in the Rust repository_ --- http://dlang.org/statement.html#ScopeGuardStatement
things like: ``` rust let name = "Anton".to_string(); print!("hello {}",name); ``` are akward and verbose. What about [scala-like string interpolation](http://docs.scala-lang.org/overviews/core/string-interpolation.html) that will work everywhere (not only in print statements) ```...
# Background Currently the `core` crate doesn't provide support for mathematical functions like `sqrt` or `sin`. To do math in a `#![no_std]` program one has the following options: - Link...
Given arbitrary traits `Foo` and `Bar`, it'd be great to have `Box` compile, but there are unresolved questions that need to be laid out explicitly. (Moved from https://github.com/rust-lang/rust/issues/32220)
Bitfields are commonly encountered when interacting with C code. Since many of the details of the behavior of bitfields are left to the implementation, it is hard to write cross-platform...