cgag / loc

Count lines of code quickly.
MIT License
2.31k stars 126 forks source link

Uncover shadowed variable. #46

Closed arcuru closed 7 years ago

arcuru commented 7 years ago

Tiny patch just to rename a variable to prevent confusion. The previous implementation covered up the name of the HashMap.

Could be because I'm new to Rust, but I was very confused by what those calls were doing, particularly by_lang.insert(vec![fc])

cgag commented 7 years ago

Not sure what I was thinking, that is confusing. Thanks!