Geoffry Song
Geoffry Song
`NoopLock` implements `RawMutex`, which is an unsafe trait with the requirement > Implementations of this trait must ensure that the mutex is actually exclusive: a lock can't be acquired while...
Hi! Big fan of this library :) I wanted to note a gotcha I ran into today: dropping a `OneshotReceiver` causes the channel to be closed, even if there is...
Well, not the trait itself, but the bound isn't enough to stop various read methods from violating aliasing rules. Example: ```rust fn main() { let data: Vec = vec![0; 1024];...
This makes it easier to detect an IO error at the bottom of an error cause chain (e.g. behind a `hyper::Error`). Also, don't implement `std::error::Error` for the private error types,...
Instead of a separate `if_let_expression` construct, we add a `let_condition` node that can be the `condition` field of an `if_expression`. Furthermore, we add a `let_chain` node that can hold any...
If you depend on a cc_import library from a rust_binary target, on Windows the binary will fail to launch because the library DLL is not found. (On other platforms it...
Now that other projects are starting to depend on objc2 per #174, should the scary warning be removed from the README?
Instead of using `-Wclippy::all` to override deny-by-default clippy lints into warnings, use `--cap-lints=warn`. This allows users to provide whatever lint flags they like and the compiler will still succeed.
I'd like to write a rule that uses capture_clippy_output to get Clippy diagnostics in JSON format. Right now, the only way to do so is using `--@rules_rust//:capture_clippy_output=True --@rules_rust//:error_format=json` (actually I'm...
... except examples since the generated code isn't currently checked in