constantoine / totp-rs

RFC-compliant TOTP implementation with ease of use as a goal and additionnal QoL features.
https://crates.io/crates/totp-rs
MIT License
169 stars 20 forks source link

Changed a bunch of to_string() to to_owned() #5

Closed underdiskdev closed 4 years ago

underdiskdev commented 4 years ago

smol PR cause i'm like that. [super link](http://www.lowlevelmanager.com/2016/02/rust-tostring-vs-toowned-for-string.html#:~:text=rust%3A%20to_string()%20vs%20to_owned()%20for%20string%20literals,to%20convert%20a%20string%20literal.&text=to_string()%20is%20the%20generic,type%20implementing%20the%20ToString%20trait.)