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 Many formatting implementations may want to print only a subset of items from a list, set, or map. Subsets can be printed directly (e.g., `.item(my_slice[..10])`)...

T-libs-api
api-change-proposal

# Proposal ## Problem statement To provide an API for comparing `TypeId`s in `const` contexts that can be stabilized "soon" along with `TypeId::of` without depending on `const` in trait impls....

T-libs-api
api-change-proposal

# Proposal ## Problem statement Add a convenient `IntoIterator` enabled function for chaining two iterators. ## Motivation, use-cases - A similar function already exists [`core::iter::zip`](https://doc.rust-lang.org/stable/std/iter/fn.zip.html) (added in https://github.com/rust-lang/rust/pull/82917) - There...

T-libs-api
api-change-proposal

# Goals Many of the new MaybeUninit APIs deal with slices or arrays. The current state of affairs is unfortunate because it leads to API duplication. An API may need...

T-libs-api
api-change-proposal

# Proposal ## Problem statement `Iterator::fold` is an extremely useful API to process all the elements in an iterator. Sometimes you don't have a sensible initial value. This is where...

T-libs-api
api-change-proposal

I figured it would be best to file an issue here, even though it would ultimately result in a PR for the rust repo. When opening up a tracking issue...

# Proposal ## Problem statement Tracking issue: https://github.com/rust-lang/rust/issues/69835 ## Current unstable API ```rust // core;:mem unsafe fn size_of_val_raw(val: *const T) -> usize; unsafe fn align_of_val_raw(val: *const T) -> usize; //...

I-libs-api-nominated
T-libs-api
api-change-proposal
waiting-on-author

# Proposal ## Problem statement Some iterator types can support peeking à la `Peekable`. Sometimes, peeking is required for such an iterator, but methods specific to the original iterator’s type...

T-libs-api
api-change-proposal
ACP-accepted

# Proposal Add a method to `std::ffi::OsStr` that splits it into `(&str /* prefix */, &OsStr /* suffix */)`, where the prefix contains valid Unicode and the suffix is the...

T-libs-api
api-change-proposal

# Proposal ## Problem statement Currently, to use mathematical constants such as π, you need to use `std::f32::consts::PI`. This proposal is for adding associated constants to the `f32` and `f64`...

T-libs-api
api-change-proposal