Diggory Hardy
Diggory Hardy
`new_random_generic` is used to implement `new_random` which appears to have over 200 uses, therefore removing it entirely does not appear a trivial change. I'm hoping some day that Cargo will...
> This particular case could be done with find: I believe so. Semantically however `find` conveys the idea of *finding any matching candidate* whereas `for ...` conveys *do something in...
@HKalbasi code can't use nightly features if (as usual) stable compiler support is desired. And there are reasons beyond novel features to use a nightly compiler, e.g. [compile speed](https://bevyengine.org/learn/book/getting-started/setup/) and...
Yes. On [kas master](https://github.com/kas-gui/kas/commit/6a99b5fe8dcdf1385b091dad00fc97e98d0556e3): ``` ❯ rustc +nightly -V rustc 1.64.0-nightly (f6f9d5e73 2022-08-04) ❯ cargo +nightly clippy --all-features [...] Checking kas v0.11.0 (/home/dhardy/projects/kas/kas) warning: this import is redundant --> src/lib.rs:112:1...
I think this is the same bug: ```rust // original use crate::text::TextApi; // for doc use #[allow(unused)] use crate::text::TextApiExt; use crate::macros::autoimpl; // ——— rustfmt output ——— use crate::text::TextApi; // for...
No idea why this got a `wontfix` label.
> They can specify https://github.com/integer32llc/rust-playground/issues/192#issuecomment-388589736 Not relevant. `rand_pcg` is not a "feature" of `rand`; it's simply not a dependency any more (except under `dev-dependencies`). > I don't want to get...
> didn’t you open this issue because of the use of an outdated crate? Yes, because using `rand_pcg` in the playground uses an old version *by default*, and because of...
Agreed. `--output-format bencher` is *easier* to parse than the default, but still not easy enough... and as it turns out, 1 ns precision is insufficient. Also: having new lines in...
I implemented basic font fallback in [kas-text](https://github.com/kas-gui/kas-text/tree/master/src/fonts). The problems are a little more complicated than just querying supported glyphs: 1. Assemble a list of fallback fonts *per style*. Fontdb is...