rust/compiler/rustc_metadata/src
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
..
dynamic_lib mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
rmeta Changed unwrap_or to unwrap_or_else in some places. 2020-11-10 20:07:47 -08:00
creader.rs Fix some more clippy warnings 2020-10-30 10:12:56 -04:00
dependency_format.rs Collapse all uses of target.options.foo into target.foo 2020-11-08 17:29:13 +03:00
dynamic_lib.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
foreign_modules.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
lib.rs /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
link_args.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
locator.rs Collapse all uses of target.options.foo into target.foo 2020-11-08 17:29:13 +03:00
native_libs.rs Collapse all uses of target.options.foo into target.foo 2020-11-08 17:29:13 +03:00