kennytm
kennytm
That's a false comparison, `Option::as_deref()` can be called `as_xxxx` because the input is also an `Option`, in the same situation as [`Result`](https://doc.rust-lang.org/std/result/enum.Result.html#method.as_deref) and [`Pin`](https://doc.rust-lang.org/std/pin/struct.Pin.html#method.as_deref_mut). You are trying to get an...
> The crate [tempfile](https://docs.rs/tempfile) has 168,118,646 downloads and is used very often in the ecosystem, I believe it is quite a fundamental functionality that the ecosystem depends on. Yes the...
OK I forgot one thing about `#[global_allocator]`: the *type* of the `static` is not a fixed type but anything that implements `GlobalAlloc`. Meaning you need either one of the following...
@burdges > I'd think pub const and pub static would be the most likely future extensions here. no no no please don't extend this RFC to `const`. For `static` and...
@burdges "A lint could be emitted to warn users about the potential ambiguity." So `#![auditable]` for the current crate is just `#![deny(rfc_3624_lint)]`. Perhaps there should also be another lint, that...
@archer-321 @senekor However, item shadowing is already happening with inherent vs trait methods, so that "complexity" already existed. (Not to mention the auto-ref based method resolution mentioned https://github.com/rust-lang/rfcs/pull/3624#issuecomment-2094958975 which was...
I don't think the comparison with Java/Kotlin/C++ is fair since they allow overloading i.e. they allow multiple methods sharing the same name as long as they have different arguments. ```java...
The bug seems to affect v7.5.5 as well. ``` [2025/01/14 08:03:09.417 +08:00] [FATAL] [lib.rs:512] ["region 3104421936 commit_ts: TimeStamp(455295103665440083), resolved_ts: TimeStamp(455295103691653164)"] [backtrace=" 0: tikv_util::set_panic_hook::{{closure}}\n at /workspace/source/tikv/components/tikv_util/src/lib.rs:511:18\n 1: ::call\n at /root/.rustup/toolchains/nightly-2022-11-15-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc/src/boxed.rs:2032:9\n std::panicking::rust_panic_with_hook\n...
`Sortlen` in MySQL is defined as "*related to the amount of memory required to sort strings expressed in the character set*", but the meaning of the value is never explained....
> `` for partial_cmp seems... "not entirely unreasonable" as a non-standard operator among other programming languages it would be hard to remember the spelling whether it should be `` or...