Skip to content

docs(engine): comment cleanup for local_copy::deletion (#1947) - #3581

Merged
oferchen merged 1 commit into
masterfrom
docs/comment-cleanup-deletion
May 4, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/comment-cleanup-deletion

Conversation

@oferchen

@oferchen oferchen commented May 3, 2026 •

Copy link
Copy Markdown
Owner

Fixes #1947

Summary

Comment cleanup for the deletion-related modules under crates/engine/src/local_copy/. There is no single local_copy/deletion.rs file; the deletion logic lives in options/deletion.rs and executor/directory/recursive/deletion.rs. Both files were audited per the project comment-cleanup rules in internal docs.

Changes:

  • options/deletion.rs: removed an inline two-line comment in delete_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 the use declarations.

The upstream reference is preserved in both files. No code logic changes.

Test plan

  • CI fmt+clippy passes
  • CI nextest (stable) passes
  • No behavioral change - comments only

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.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 3, 2026
@oferchen
oferchen merged commit acd8b4f into master May 4, 2026
38 checks passed
@oferchen
oferchen deleted the docs/comment-cleanup-deletion branch May 5, 2026 04:19
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant