-
Take a simple example like
```rust
fn main() {
let s = async_stream::stream! {
for i in 0..3 {
yield i;
}
};
}
```
in a new rust project. Add some spa…
-
### Description
```
$ bazel run //quality:rustfmt_fix
INFO: Analyzed target //quality:rustfmt_fix (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
INFO: Elapsed time: 0.881s, …
-
Is it possible to trigger `clippy fix` and `rustfmt`when `rusitc-cargo-run`?
I prefer to just `rusitc-cargo-run` without call `rusitc-cargo-build` before it.
-
### Problem
0. Usage of autoformatter and linter is a really good practice and, for not depend on IDE, good to have them in [pre-commit](https://pre-commit.com/) hooks (of course it can also be some …
-
With the same end-goal of refactoring some part of the code base, improving code readability would be great too
Per @valentinewallace idea.
-
I think it would be nice if one could run `rustfmt` from a keyboard shortcut, similar to `ctrl`+`return` to run code, or `ctrl`+`F9` on compiler-explorer.org.
-
Things to talk about:
- what directories should be cached (probably `~/.cargo`, `./target`, but keep `~/.cargo/credentials` in mind)
- Rust channels (testing on current stable, beta and the oldest…
-
Right now we're calling `form` and `rustfmt` to split out the auto-generated modules into many files. I don't think this provides much value as nobody is going to look at those file anyway.
I have…
Rahix updated
6 months ago
-
As described in https://github.com/unicode-rs/unicode-width/issues/55, 0.1.13 changed the predicted widths of a lot of characters to be more accurate for things like emoji.
From that issue, and f…
-
### Compiler name
`rustfmt`
### Compiler version
The same that CE supports for Rust (i.e. the set of `rustfmt` versions installed by the set of toolchains already installed for Rust).
### …