Open mrghosti3 opened 3 months ago
Changes:
String:new()
format!("")
is_empty()
s == ""
into_iter
write!
writeln!
mut
&mut ...
match
if
Stack::to_string
Display
fn main
This contains similar changes to #70, but only sticks to clippy changes, leaving Stack in the code.
Stack
Changes:
String:new()
instead offormat!("")
is_empty()
instead ofs == ""
into_iter
write!
+ '\n' withwriteln!
mut
from vars with type&mut ...
match
withif
pattern matchStack::to_string
withDisplay
traitfn main