Skip to content

Commit d6ad05c

Browse files
committed
Fix CHANGELOG formatting
1 parent 353bcaa commit d6ad05c

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1111

1212
- Added formatting for multiline string interior whitespace. Enabled by default with new setting `format_multiline_strings`.
1313
1. Indentation is normalised to align the trailing quote with the leading quote. Lines in the
14-
middle are adjusted to retain their original significant leading whitespace.
14+
middle are adjusted to retain their original significant leading whitespace.
1515
2. Internal line endings are normalised to match the configured line ending.
1616
3. Invalid multiline strings are left untouched.
1717
- All keywords are now set to lowercase. This includes reserved words (like `begin` and `const`) but also includes
@@ -213,7 +213,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
213213
- Format spaces between all tokens (on separate lines)
214214

215215
[Unreleased]: https://github.com/integrated-application-development/pasfmt/compare/v0.6.0...HEAD
216-
[0.5.1]: https://github.com/integrated-application-development/pasfmt/compare/v0.5.1...v0.6.0
216+
[0.6.0]: https://github.com/integrated-application-development/pasfmt/compare/v0.5.1...v0.6.0
217217
[0.5.1]: https://github.com/integrated-application-development/pasfmt/compare/v0.5.0...v0.5.1
218218
[0.5.0]: https://github.com/integrated-application-development/pasfmt/compare/v0.4.0...v0.5.0
219219
[0.4.0]: https://github.com/integrated-application-development/pasfmt/compare/v0.4.0-rc2...v0.4.0

core/CHANGELOG.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1818
- In order to support mutation of token contents, a few APIs have been adjusted.
1919
1. `Token::set_content` was added.
2020
2. `FormattedTokens`
21-
* Methods `new_from_tokens`, `new`, and `get_token` were adjusted to either expect exclusive
22-
references to tokens as arguments, or return exclusive references to tokens as part of the
23-
result.
24-
* Method `get_tokens` was deleted and replaced by `tokens`, which returns an iterator instead
25-
of a reference to a vector.
26-
* Method `get_token_mut` was added to provide a way to safely retrieve mutatable references to
27-
tokens (alongside the mutable formatting data), protecting against mutating ignored tokens.
28-
* Method `tokens_mut` was added to provide an iterable equivalent to `get_token_mut`,
29-
mirroring the relationship between `get_token` and `tokens`.
21+
- Methods `new_from_tokens`, `new`, and `get_token` were adjusted to either expect exclusive
22+
references to tokens as arguments, or return exclusive references to tokens as part of the
23+
result.
24+
- Method `get_tokens` was deleted and replaced by `tokens`, which returns an iterator instead
25+
of a reference to a vector.
26+
- Method `get_token_mut` was added to provide a way to safely retrieve mutatable references to
27+
tokens (alongside the mutable formatting data), protecting against mutating ignored tokens.
28+
- Method `tokens_mut` was added to provide an iterable equivalent to `get_token_mut`,
29+
mirroring the relationship between `get_token` and `tokens`.
3030

3131
### Removed
3232

0 commit comments

Comments
 (0)