Repository navigation
fix: collapse stray space run in round-cap stop message - #177
Merged
Merged
Conversation
The wrapped string literal in `round_cap_stop_message` carried its source indent into the message, so the user saw a gap mid-sentence. A Rust line continuation emits a single space instead, matching `round_cap_note`. Co-Authored-By: siGit Code v1.6.2-acp <noreply@sigit.si>
There was a problem hiding this comment.
Fixes stray spaces in the round_cap_stop_message string by replacing a multi-line string literal with a line continuation to avoid unintended indentation spaces. This aligns the style with the sibling round_cap_note function and removes the run of spaces mid-sentence in the output message.
Automated review by siGit Code Review · commit 1494915 · see the review dashboard
paydii
approved these changes
Oct 6, 2026
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.
Problem
round_cap_stop_messagewrapped itsformat!string across two source lines, and the second line's indent became part of the literal -- the user saw a run of spaces mid-sentence:Fix
Use a Rust line continuation (
\) so the wrap costs one normal space. This is the same pattern the siblinground_cap_notejust below it already uses, so the two are now consistent. The message text is unchanged apart from the stray space run.Verification
cargo fmt -- --checkpasscargo clippy --tests -- -D warningspasscargo test --lockedpass (411 unit tests + integration suites)Ticket
https://project.sigit.si/projects/1/items/4