Skip to content

docs(rust): require closing quote on its own line in indoc macros - #67

Merged
hakula139 merged 2 commits into
mainfrom
docs/rust-indoc-closing-quote
Dec 5, 2026
Merged

hakula139 merged 2 commits into
mainfrom
docs/rust-indoc-closing-quote

Conversation

@hakula139

@hakula139 hakula139 commented Dec 5, 2026 •

Copy link
Copy Markdown
Member

Summary

  • State explicitly in the rust skill's ## Strings section that the closing quote in indoc!, formatdoc!, and writedoc! blocks always goes on its own line, and trim the trailing newline with .trim_end() (or .strip_suffix('\n') when trailing whitespace is significant) when no final newline is wanted.
  • Bump hakula-languages plugin version to 1.1.7.

Test plan

  • nix develop -c run-hooks passed (all hooks green).

@hakula139 hakula139 added the documentation Documentation changes label Dec 5, 2026
@hakula139 hakula139 self-assigned this Dec 5, 2026
@hakula139
hakula139 merged commit da21bba into main Dec 5, 2026
3 checks passed
@hakula139
hakula139 deleted the docs/rust-indoc-closing-quote branch December 5, 2026 08:10
hakula139 added a commit that referenced this pull request Dec 6, 2026
## Summary

- Update the Rust guidance for final newlines in indoc macros,
serialization of false flags, and nightly rustfmt import groups.
- Preserve sentence boundaries when reflow saves no lines, and order
helper functions, handlers, and tests by how the code calls or
dispatches them.
- Verify linked issue acceptance criteria after merging and check off
only the items the merged change satisfies.
- Bump `hakula-languages` to `1.1.8` and `hakula-workflow` to `2.1.19`.

## Test plan

- [x] `nix develop -c run-hooks` and commit hooks passed.
- [x] `nix flake check --all-systems` passed.
- [x] `claude plugin validate` passed for the marketplace and both
plugins. The plugin catalog checks reported missing icons.

## Related

- Refs #67
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant