wisespace-io / binance-rs

Rust Library for the Binance API
Other
636 stars 287 forks source link

Clippy/use self #184

Open danieleades opened 1 year ago

danieleades commented 1 year 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 1 year ago

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