rust/compiler/rustc_builtin_macros
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
..
src Changed unwrap_or to unwrap_or_else in some places. 2020-11-10 20:07:47 -08:00
Cargo.toml mv compiler to compiler/ 2020-08-30 18:45:07 +03:00