-
I tried this code:
```rust
async fn new_trace_lde(
&self,
trace_info: &TraceInfo,
main_trace: &ColMatrix,
domain: &StarkDomain,
) -> (Self::TraceLde, TracePolyTable) {
//…
-
We want to use our new error macros instead of `panic!`, `unwrap()`, `expect(...)`, and `unreachable!()`.
The new error macros both live in `roc_reporting` and can be imported with `use roc_report…
-
We should implement a linting setup to help maintain code quality while writing the rust code for the SDK. I would suggest using cargo's included linter '`clippy`' and enabling the lints in `rustc`. I…
-
### Problem
When using a relative path in a workspace subproject, the file path in the diagnostic message contains duplicate separators
happened
```
mpv-easy-ext\./src/main.rs:2:7
```
expect…
-
# What it does
Checks for double comparisons that could be simplified to a single expression.
# Why is this bad?
Readability.
# Example
```rs
if x == y || x < y {}
```
Use instead:
…
-
Confused :crab: ...
- added
```yaml
[features]
clippy = []
```
to `Cargo.toml`
- then, trying `cargo run --features "clippy"` (from https://github.com/rust-lang/ferris-says/pull/5), the …
-
os-checker 相关代码:https://github.com/os-checker/os-checker/blob/50faf092c08b39184e6ccd838cc328d63b7b0075/src/repo/cmd.rs#L17-L26
问题库之一:https://github.com/arceos-org/arceos/blob/6f98bc411e4c799085739e…
-
Refactor the entire kernel codebase to accomplish the following:
- [x] Split the kernel cleanly into subsystems that each do one thing only and do it well.
- [ ] Break up arch so that each subsy…
-
类似 Apple 生态中的拷贝和粘贴问题
-
Assuming the most relaxed setup, i.e. the defaults (`accept-comment-above-attribute = true` and `accept-comment-above-statement = true`), `undocumented_unsafe_blocks` seems to have false positives aro…
ojeda updated
3 weeks ago