cargo fmt --check fails on main in perry-runtime/src/fs/fd_ops.rs

Open Beginner friendly
#15,219 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
88/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
rust
Domain
build-system

Research direction

Run cargo fmt -p perry-runtime from the repository root and inspect the diff in crates/perry-runtime/src/fs/fd_ops.rs; the change should be whitespace/layout only. Confirm with cargo fmt --check, then run scripts/run_lint_gates.sh to see the fmt gate go green. Done means an empty cargo fmt --check and no behavioural diff in fd_ops.rs.

Written by the indexing model from the issue text.

Description

area:tooling-ci effort:S impact:low type:chore

cargo fmt --check fails on main in crates/perry-runtime/src/fs/fd_ops.rs, so scripts/run_lint_gates.sh reports the fmt gate red for every PR. Running cargo fmt -p perry-runtime on main and committing the result fixes it.

Found while fixing #15159 (PR #15206).

Dominant language
Rust
Stars
4.9k
Forks
166
Avg merge
6h 59m
Merged PRs (30d)
955

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PerryTS/perry

All issues in PerryTS/perry

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.