Skip to content

Fix/car#64

Merged
TKorr merged 2 commits intomainfrom
fix/car
Mar 29, 2026
Merged

Fix/car#64
TKorr merged 2 commits intomainfrom
fix/car

Conversation

@TKorr
Copy link
Copy Markdown
Contributor

@TKorr TKorr commented Mar 27, 2026

Description

Related Issue

Fixes #

Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 📝 Documentation update
  • 🔧 Refactoring (no functional changes)
  • ⚡ Performance improvement
  • 🧪 Test addition or modification

How Has This Been Tested?

  • Unit tests
  • Integration tests
  • Manual testing

Test environment:

  • OS:
  • Rust version:

Checklist

  • My code follows the project's coding standards
  • I have run cargo fmt and cargo clippy
  • I have added tests for my changes
  • All new and existing tests pass (cargo test)
  • I have updated the documentation as needed
  • I have added an entry to CHANGELOG.md (if applicable)

Screenshots (if applicable)

Additional Notes

TKorr added 2 commits March 27, 2026 20:14
Updated all references in the code and documentation to rename `CARCore` to `CarCore`, enhancing clarity and consistency across the API. Adjusted example usage to reflect the new naming convention, ensuring a unified experience for users interacting with the CAR cache policy.
Updated the `ClockProCache` struct to implement the `Clone` and `Default` traits, allowing for easier cache duplication and initialization with a default capacity. Enhanced documentation throughout the struct, including examples for key methods such as `with_ghost_capacity`, `is_empty`, `hot_count`, `cold_count`, and `ghost_count`, improving clarity and usability for users. This change aims to streamline the API and provide a more intuitive experience when working with the ClockPro cache policy.
@TKorr TKorr merged commit 127c82f into main Mar 29, 2026
17 checks passed
@TKorr TKorr deleted the fix/car branch March 29, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant