aboutsummaryrefslogtreecommitdiff
path: root/src/calc.rs
Commit message (Collapse)AuthorAgeFilesLines
* Apply clippy suggestions魏曹先生2026-04-171-9/+7
| | | | | | | | | | - Use `BTreeMap::entry` API in `update_item` - Replace `or_insert_with(Vec::new)` with `or_default` - Iterate over map values instead of key-value pairs - Use `std::io::Error::other` for custom errors - Simplify filter logic with direct predicate - Replace manual `Into` implementation with `From` - Remove unnecessary explicit returns
* Initialize Rust project with billing calculation functionality魏曹先生2026-04-161-0/+163