Skip to content

Commit bc75f40

Browse files
authored
Merge pull request #100 from jerus-org/enhance-readability-with-format-string
💄 style(domain): enhance readability with format string
2 parents 647efef + ccb7870 commit bc75f40

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
### Changed
11+
12+
- 💄 style(domain)-enhance readability with format string(pr [#100])
13+
814
## [0.2.32] - 2025-06-28
915

1016
### Security
@@ -325,6 +331,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
325331
[#97]: https://github.com/jerus-org/lambda_sqs/pull/97
326332
[#98]: https://github.com/jerus-org/lambda_sqs/pull/98
327333
[#99]: https://github.com/jerus-org/lambda_sqs/pull/99
334+
[#100]: https://github.com/jerus-org/lambda_sqs/pull/100
335+
[Unreleased]: https://github.com/jerus-org/lambda_sqs/compare/v0.2.32...HEAD
328336
[0.2.32]: https://github.com/jerus-org/lambda_sqs/compare/v0.2.31...v0.2.32
329337
[0.2.31]: https://github.com/jerus-org/lambda_sqs/compare/v0.2.30...v0.2.31
330338
[0.2.30]: https://github.com/jerus-org/lambda_sqs/compare/v0.2.29...v0.2.30

src/domain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ impl fmt::Display for SqsEvent {
6363
self.records
6464
.clone()
6565
.into_iter()
66-
.try_for_each(|item| writeln!(f, "{}", item))?;
66+
.try_for_each(|item| writeln!(f, "{item}"))?;
6767
writeln!(f, "]")
6868
}
6969
}

0 commit comments

Comments
 (0)