George-Miao / qbit

A Rust library for interacting with qBittorrent's Web API
https://docs.rs/qbit-rs
MIT License
32 stars 12 forks source link

Extend api by using impl Into<String> instead of String #2

Closed Einliterflasche closed 1 year ago

Einliterflasche commented 1 year ago

Hey, I noticed that some constructors force the use of String which I changed to any impl Into<String> in order to allow the passing of &str and so on.

George-Miao commented 1 year ago

Looks good to me! Thanks for the contribution.