mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
![]() 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. |
||
---|---|---|
.. | ||
dynamic_lib | ||
rmeta | ||
creader.rs | ||
dependency_format.rs | ||
dynamic_lib.rs | ||
foreign_modules.rs | ||
lib.rs | ||
link_args.rs | ||
locator.rs | ||
native_libs.rs |