wisespace-io / binance-rs

Rust Library for the Binance API
Other
688 stars 305 forks source link

Clippy/use self #184

Open danieleades opened 2 years ago

danieleades commented 2 years ago

use 'Self' to refer to own type.

This is less verbose, easier to refactor, and makes it clear that a method is a 'constructor'.

this PR is stacked on #183, will leave it as a draft until it can be rebased.

wisespace-io commented 2 years ago

@danieleades #183 has been merged. By the way, thank you for all your latest contributions.