I'm more of a functional programmer and I've looked over a lot of medium articles where the tutor fp people for writing rust. I don't know if there is an idiomatic way of writing rust, that looks clean and rusty(for lack of my vocab).
I don't think fp way is idiomatic but if there is a second close which doesn't compromise over performance over style. But I don't want to write C/C++ like imperative code. I believe it must be reusable and atomic.
I would love to get some help, and also how I can use clippy I use vscode's rls extension.