Implement cargo clippy suggestions

Created by  AfoHT  on July 21, 2021
4DJWIQSI4HHSSWX5JSGZXW7L77NCUWFC23TWHMBPWYRNYIO44EWAC
Change contents