Skip to content

chore: apply cargo fmt across application and domain layers#30

Merged
gbrennon merged 1 commit intomainfrom
chore/apply-rustfmt
Mar 8, 2026
Merged

chore: apply cargo fmt across application and domain layers#30
gbrennon merged 1 commit intomainfrom
chore/apply-rustfmt

Conversation

@gbrennon
Copy link
Copy Markdown
Owner

@gbrennon gbrennon commented Mar 8, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 8, 2026 02:24
@gbrennon gbrennon self-assigned this Mar 8, 2026
@gbrennon gbrennon merged commit c9efd5b into main Mar 8, 2026
2 checks passed
@gbrennon gbrennon deleted the chore/apply-rustfmt branch March 8, 2026 02:25
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Applies cargo fmt-style formatting updates across the application and domain layers to standardize code layout and remove trailing whitespace, without changing behavior.

Changes:

  • Reformats test code (struct literals, function calls, and imports) to rustfmt conventions.
  • Removes stray trailing whitespace/blank lines at file ends.
  • Wraps long type/trait paths and function calls for consistent readability.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/domain/ports/mapper.rs Removes trailing whitespace at EOF after rustfmt.
src/application/services/create_medication_service.rs Import ordering and EOF whitespace cleanup.
src/application/services/update_medication_service.rs Reformats test request construction and removes trailing whitespace.
src/application/services/settings_service.rs Reformats test repository trait impl, request literals, and trims trailing spaces.
src/application/services/schedule_dose_service.rs Reformats test imports and call sites to standard rustfmt layout.
src/application/services/mark_dose_taken_service.rs Reformats test struct literals and constructor calls.
src/application/services/list_dose_records_service.rs Reformats test request literals and datetime calls.
src/application/services/get_medication_service.rs Reformats test imports and request literals.
src/application/services/delete_medication_service.rs Reformats test request literal.
src/application/mappers/update_medication_mapper.rs Reformats a long test request constructor call and EOF whitespace.
src/application/mappers/medication_try_from.rs Reformats matches! assertions for multi-line readability.
src/application/mappers/create_medication_mapper.rs Removes trailing whitespace at EOF after rustfmt.

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.

2 participants