[pr-docs] loader: load's doc comment is back on load #286
Loading…
Reference in a new issue
No description provided.
Delete branch "iboom72/docs/loader-load-doc-comment"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What it changes
crates/darner-loader/src/windows.rs, since69271db4).69271db4addedload_hintbetween the first lines ofload's doc comment and the function. "Writes the prepared copy intodirand maps it with the Windows loader." now opensload_hint's comment, andpub fn loadkeeps only its last line. This moves the two lines back. No code changes.How it was tested
5eae3d19cargo clippy -p darner-loader --all-targets --locked -- -D warnings: passed.cargo clippy --workspace --all-targets --locked -- -D warningsand the same with--all-features: both passed.cargo test --workspace --lockedwas not run as a whole.Checklist
main.docs/asset-policy.md.Not run in the game: comments only.
Checked for overlap
crates/darner-loader/src/windows.rs.🤖 Generated with Claude Code
Follow-up to "How it was tested": the description says
cargo test --workspace --lockedwas not run as a whole. It has now been run, together with five other small pull requests of mine, on one local branch.mainf3840d73with these six commits picked on top, no conflicts:98a3c911(#265),5799f84a(#270),c782a6e2(#283),e69c0f77(#284),1c142d36(#285),5eae3d19(#286). Not run on this pull request's branch alone.cargo clippy --workspace --all-targets --locked -- -D warnings: passed.cargo clippy --workspace --all-targets --all-features --locked -- -D warnings: passed.cargo test --workspace --locked: one test failed, indarner-shader:emit::waterfall_tests::sampled_marks_restore_early_depth_only_when_safe_in_pixel_shaders("DXIL validation failed ... Not all elements of output SV_Depth were written"). The same test fails the same way onmainf3840d73without these commits, none of the six changesdarner-shader, and #227 (open) fixes it.darner-shader's other tests: 557 passed, 16 ignored.cargo test --workspace --locked --no-fail-fast --exclude darner-shader: passed, all packages and the doc tests (darner-gpu: 1,773 passed, 81 ignored).Still not run in the game.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.