### What it does Suggests a better pattern of code. ### Lint Name direct_method_call ### Category pedantic ### Advantage More dry, shorter. ### Drawbacks _No response_ ### Example A pattern I've seen in code: let y = f64::floor(x as f64); I think it's better written: let y = (x as f64).floor(); <!-- TRIAGEBOT_START --> <!-- TRIAGEBOT_ASSIGN_START --> <!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"blyxyas"}$$TRIAGEBOT_ASSIGN_DATA_END --> <!-- TRIAGEBOT_ASSIGN_END --> <!-- TRIAGEBOT_END -->