Skip to content

style: cargo fmt — clear master fmt debt from #544 - #556

Closed
caomengxuan666 wants to merge 1 commit into
masterfrom
fix3/r-red-niu
Closed

caomengxuan666 wants to merge 1 commit into
masterfrom
fix3/r-red-niu

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

Master's cargo fmt --check has been red since #544 (commit e04721c): one call site in crates/niubash-runtime/src/shell.rs was not formatted (run_script_with_history_at_line_offset_tracked(...) argument layout).

This PR is the cargo fmt output for that single spot (+7/−6, line-layout only). Verified token-by-token: function name, arguments, order and destructuring unchanged — no semantic change. cargo fmt --check is green on the whole workspace with this applied.

Local build confirmation was blocked by dev-machine contention (two attempts timed out with zero compile errors); the change is a whitespace-only reflow and CI is the backstop.

@caomengxuan666

Copy link
Copy Markdown
Member Author

关闭(冗余):本 PR 的 fmt 修复已由后续合并吸收——当前 master(6201a588)上 cargo fmt --check -p niubash 实测 exit 0。CI 剩余红点是 Cargo.lock 与 rubash master 的漂移(--locked 拒绝更新),与本 PR 内容无关,另开卫生小 PR 处理 lock 刷新。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant