rust-lang / ferris-says

A Rust flavored implementation of `cowsay`
https://crates.io/crates/ferris-says
Apache License 2.0
194 stars 34 forks source link

Rewrite longest_line #31

Closed aleksanderkrauze closed 1 year ago

aleksanderkrauze commented 2 years ago

I rewrote longest_line function to functional style and removed String allocation.