Closed prajwalprabhu closed 1 year ago
Changes using cargo clippy, Now the repo is more rusty than before ,like replacing
rusty
return a;
a
vec.len()==0;
vec.is_empty()
a=a+1
a+=1
match
if let
No logics have been changed.
Changes using cargo clippy, Now the repo is more
rusty
than before ,like replacingreturn a;
witha
vec.len()==0;
withvec.is_empty()
a=a+1
witha+=1
and replacingmatch
if it has only one arm withif let
. and many more similar changes which makes it more rusty.