libs-team icon indicating copy to clipboard operation
libs-team copied to clipboard

The home of the library team

Results 178 libs-team issues
Sort by recently updated
recently updated
newest added

# Proposal ## Problem statement There is currently no easy way to: * get an exponent and mantissa from a floating point number * construct a floating point number from...

T-libs-api
api-change-proposal

# Proposal ## Problem statement There's an inconsistency in the standard library at present: `Arc` implements `Read` and `Write`, whereas `Arc` for several other `Read+Write` types do not. In some...

T-libs-api
api-change-proposal

# Proposal ## Problem statement When replacing a substring a single time in a string, currently we can use `str::replacen(haystack, needle, replacement, 1)`. However, this returns a newly allocated `String`,...

T-libs-api
api-change-proposal

I'm doing a sick hack to generate Rust callsite from C++ using `export_name`: src/main.rs: ```rust fn main() { println!("{:?}", unsafe { from_cpp() }); println!("Hello, world!"); } #[unsafe(no_mangle)] #[unsafe(export_name = concat!("foo",...

# Proposal ## Problem statement For array types, I can use `[const { ... }; N]` syntax to create an array of `const { ... }`, even if it’s does...

T-libs-api
api-change-proposal

# Proposal ## Problem statement Given a `t: &T`, where [`T: CloneToUninit`](https://github.com/rust-lang/rust/issues/126799), it would be nice to be able to make a heap-allocated container containing a clone of `t`, such...

T-libs-api
api-change-proposal

# Proposal Extend the `Ipv6Addr` struct with support for zone identifiers (interface indexes and interface names) including string parsing. ## Problem statement Ipv6 addresses have zone identifiers (`%`) for e.g....

T-libs-api
api-change-proposal

# Proposal ## Problem statement I want to compliment the `FromIterator` trait with a `TryFromIterator` trait as that would basically be a fallible alternative to `FromIterator`, it would be the...

T-libs-api
api-change-proposal

# Proposal ## Problem statement If you have an implementor of `io::Write` and a function that accepts an argument of type `fmt::Write`, it is difficult to bridge the gap. Currently,...

T-libs-api
api-change-proposal

# Proposal ## Problem statement `.unwrap()` is semantically overloaded in rust. It finds itself used for two significantly different reasons: - If this is `None/Err`, our program is in a...

T-libs-api
api-change-proposal