3 ms·
Rust does have such a syntax: map_err(ToString::to_string).
by Rusky 10y ago
Rust does have such a syntax: map_err(ToString::to_string).
- MichaelGG 10y agoIt's not the same though; it can resolve to different methods based on non-local code. It also doesn't do autoborrow.