Nikolai Vazquez

Results 101 comments of Nikolai Vazquez

@phimage, do you have any implementation suggestions?

So one negative thing that struck out to me with the previous implementation was that it added methods to types implementing the distribution protocol that were outside of RandomKit's scope....

Side note: this makes me wish Swift had more of Rust's abilities regarding protocols/traits. How I'd implement `Seedable` in Rust: ```rust pub trait Seedable { fn from_seed(seed: S) -> Self...

Sorry for the delay.. This will get done this weekend. If not done by Sunday morning, ping me 😄

@scottmcm thanks for the heads up! I submitted https://github.com/rust-lang/libs-team/issues/166

The ACP wasn't approved because: > ...of the many ways in which this transformation can be expressed, `transpose_fn` is the _least_ readable. For example, simple doing `|arg| Some(f?(arg))` is much...

@polarathene Divan can now use runtime arguments via the [`args`](https://docs.rs/divan/latest/divan/attr.bench.html#args) option, so a custom `MyEnum` type would be usable now.

I can rewrite this to use an associated type via `OncePointee` instead of `UnsafeCell`. That should remove the need to bump the MSRV.

@notgull I refactored the code to only require bumping to `1.61.0`.

I would love this feature! It's frustrating trying to find a crate's feature set and having to hunt down its `Cargo.toml`. I believe all features (including optional dependencies) should be...