Repository navigation
docs(engine): comment cleanup for local_copy::deletion (#1947) - #3581
Merged
Merged
Conversation
Removes restating-the-code comments and replaces em-dashes with hyphens in deletion-related modules under crates/engine/src/local_copy. - options/deletion.rs: drop the inline `Promote During -> After` comment that restates the surrounding rustdoc; convert em-dash to hyphen in the upstream reference line. - executor/directory/recursive/deletion.rs: fix the upstream reference inside the module-level `//!` block (drop the inner `//`) and add a blank line before the `use` declarations. No behavior change - comments only.
oferchen
added a commit
that referenced
this pull request
May 5, 2026
Removes restating-the-code comments and replaces em-dashes with hyphens in deletion-related modules under crates/engine/src/local_copy. - options/deletion.rs: drop the inline `Promote During -> After` comment that restates the surrounding rustdoc; convert em-dash to hyphen in the upstream reference line. - executor/directory/recursive/deletion.rs: fix the upstream reference inside the module-level `//!` block (drop the inner `//`) and add a blank line before the `use` declarations. No behavior change - comments only.
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1947
Summary
Comment cleanup for the deletion-related modules under
crates/engine/src/local_copy/. There is no singlelocal_copy/deletion.rsfile; the deletion logic lives inoptions/deletion.rsandexecutor/directory/recursive/deletion.rs. Both files were audited per the project comment-cleanup rules ininternal docs.Changes:
options/deletion.rs: removed an inline two-line comment indelete_timing()that restated the surrounding rustdoc paragraph. Replaced an em-dash with a hyphen in the upstream reference line, per project style.executor/directory/recursive/deletion.rs: the module-level//!block contained a malformed line//! // upstream: ...(an inner//inside a doc comment). Cleaned it up to//! upstream: ...and added the missing blank line before theusedeclarations.The upstream reference is preserved in both files. No code logic changes.
Test plan