mclang / kiho-wt-puncher

Rust CLI app to make Kiho worktime login/logout punches using Kiho API
GNU General Public License v3.0
1 stars 0 forks source link

Improve `String` and `&str` usage #3

Open mclang opened 1 week ago

mclang commented 1 week ago

Problem

Current usage of String and &str is somewhat haphazard without thought.

Solution

Check that both String and &str are used more idiomatic way, e.g use borrowed types for arguments idiom.

Check README for TL;DR tips.