Timeline for Tips for golfing in Rust
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 9, 2024 at 18:52 | comment | added | ShadowRanger | For when you're converting an iterator of &str to an iterator of String, .map(String::from) beats any of these save .map(|s|s.into()) (which wins by one character) by virtue of avoiding a closure, and unlike .map(|s|s.into()), it works without relying on type-inferencing. | |
| Aug 9, 2019 at 23:29 | history | edited | JayXon | CC BY-SA 4.0 | syntax highlighting |
| Aug 4, 2019 at 8:40 | review | Late answers | |||
| Aug 4, 2019 at 13:37 | |||||
| Aug 4, 2019 at 8:24 | history | answered | JayXon | CC BY-SA 4.0 |