greyblake / whatlang-rs

Natural language detection library for Rust. Try demo online: https://whatlang.org/
https://whatlang.org/
MIT License
969 stars 109 forks source link

Impl Hash for Script #127

Closed Victor-N-Suadicani closed 2 years ago

Victor-N-Suadicani commented 2 years ago

Simply implements Hash for the Script type, as per the C-COMMON-TRAITS API guideline.

There are some other types in this crate that doesn't follow this guideline either. whatlang::Info doesn't implement some common traits either, as an example.

greyblake commented 2 years ago

@Victor-N-Suadicani Thanks!