Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(frontmatter-gen): 🐛 Replace unnecessary
to_string
and optimize …
…key checks - Replaced `to_string` calls with direct string literals in `HashMap::get` and `contains_key`. - Updated tests to use `contains_key` instead of `get(...).is_none()`. - Optimized assertions to follow idiomatic Rust patterns. - Ensured Clippy compliance for the `unnecessary_to_owned` and `unnecessary_get_then_check` lints.
- Loading branch information