Aria the Cat@Gankra_·Nov 14, 2017It occurs to me that probably almost no one is aware that Rust's format!/println! syntax has support for named args. I think I've only seen it used once.12535
Aria the Cat@Gankra_·Nov 14, 2017I think I only know about it because I stumbled across this monstrous 130 line format string with 14 args in rustdoc: https://github.com/rust-lang/rust/blob/9b53f0a6620c3451a10573ea5c5a51b4c18088ec/src/librustdoc/html/layout.rs#L146-L176…4211
Brendan Zabarauskas@brendanzabReplying to @nick_r_cameron and @GankroI think it's because @alex_crichton started the rustdoc web backend, and he did the std::fmt renovation back in the day: https://github.com/rust-lang/rust/commit/4fd061c426902b0904c65e64a3780b21f9ab3afb#diff-77e71218334f32043453eff209e6d434R113…9:14 AM · Nov 14, 2017·Twitter Web Client1 Like