diff options
author | 2024-09-18 02:24:56 +0200 | |
---|---|---|
committer | 2024-09-18 02:24:56 +0200 | |
commit | e36e042093287e6b21004e24b609c6d1de7fc64a (patch) | |
tree | 304a569d53f63865d3000197dcb3c626ccce6119 | |
parent | b3a365f9cae35d96a2d342301db87a2c4d46fd58 (diff) | |
download | iced-e36e042093287e6b21004e24b609c6d1de7fc64a.tar.gz iced-e36e042093287e6b21004e24b609c6d1de7fc64a.tar.bz2 iced-e36e042093287e6b21004e24b609c6d1de7fc64a.zip |
Fix `Changed` entries considered as `Added` in `changelog` tool
-rw-r--r-- | examples/changelog/src/changelog.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/changelog/src/changelog.rs b/examples/changelog/src/changelog.rs index 82e0b57b..4aeb9574 100644 --- a/examples/changelog/src/changelog.rs +++ b/examples/changelog/src/changelog.rs @@ -87,7 +87,7 @@ impl Changelog { let target = match category { Category::Added => &mut changelog.added, - Category::Changed => &mut changelog.added, + Category::Changed => &mut changelog.changed, Category::Fixed => &mut changelog.fixed, Category::Removed => &mut changelog.removed, }; @@ -150,7 +150,7 @@ impl Changelog { let target = match entry.category { Category::Added => &mut self.added, - Category::Changed => &mut self.added, + Category::Changed => &mut self.changed, Category::Fixed => &mut self.fixed, Category::Removed => &mut self.removed, }; |