scottmcm
scottmcm
I noticed that a bit of #8498 could use the relatively-new `hash_one` helper, so here's a PR. Up to you whether you want the change; it does exactly the same...
Nearing the end of https://github.com/rust-lang/compiler-team/issues/621 ! Currently blocked on ~~https://github.com/rust-lang/compiler-builtins/pull/673~~ ~~https://github.com/rust-lang/compiler-builtins/pull/674~~ ~~https://github.com/rust-lang/rust/pull/129400~~ ~~https://github.com/rust-lang/rust/pull/129481~~ for windows.
### Type of issue Missing information ### Description The return value for `WaitForNextTickAsync` is a `ValueTask`, but the documentation doesn't say what `true` or `false` mean as the value of...
We have `From` for infallible, `TryFrom` for checked, and this proposes `WrappingFrom` for modular conversions. [Rendered](https://github.com/scottmcm/rfcs/blob/wrapping-from/text/3703-wrapping-from.md)
# Proposal ## Problem statement Stealing from **steffahn** in : > I think `Vec` *is* at least missing some sort of generic `shrink()`/`garbage_collect()`/... function with good asymptotics, so that if...
# Proposal ## Problem statement It's really nice now that `uNN::checked_sub` gives you a *safe* way to get a `uNN::unchecked_sub`. However, that's only a smooth replacement for code doing `if...
# Proposal ## Problem statement One common pattern of numeric conversions is having a signed value and needing it in the unsigned type, or vice versa. Things like `isize::MAX as...
This is a tracking issue for the RFC "`try_trait_v2`: A new design for the `?` desugaring" (rust-lang/rfcs#3058). The feature gate for the issue is `#![feature(try_trait_v2)]`. This obviates https://github.com/rust-lang/rfcs/pull/1859, tracked in...
This proposes adding `#[inline(trampoline)]` and `#[inline(rarely)]` to hint the compiler additional information about *why* you're marking the function for inlining, to help it hopefully make better choices without the overly-strong...
Tweak the behaviour of `?` inside `try{}` blocks to not depend on context, in order to work better with methods and need type annotations less often. The stable behaviour of...