rust/library/std
Nicholas-Baron 261ca04c92 Changed unwrap_or to unwrap_or_else in some places.
The discussion seems to have resolved that this lint is a bit "noisy" in
that applying it in all places would result in a reduction in
readability.

A few of the trivial functions (like `Path::new`) are fine to leave
outside of closures.

The general rule seems to be that anything that is obviously an
allocation (`Box`, `Vec`, `vec![]`) should be in a closure, even if it
is a 0-sized allocation.
2020-11-10 20:07:47 -08:00
..
benches mv std libs to library/ 2020-07-27 19:51:13 -05:00
src Changed unwrap_or to unwrap_or_else in some places. 2020-11-10 20:07:47 -08:00
tests mv std libs to library/ 2020-07-27 19:51:13 -05:00
build.rs Remove duplicated library links between std and libc 2020-09-21 01:37:15 -07:00
Cargo.toml Rollup merge of #77703 - Keruspe:system-libunwind, r=Mark-Simulacrum 2020-10-27 08:44:44 +09:00