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
..
2020-09-11 09:37:51 -07:00
2020-10-04 02:02:25 +02:00
2020-10-30 10:13:39 -04:00
2020-11-10 20:07:47 -08:00
2020-11-07 13:17:19 +00:00
2020-11-10 14:45:21 +01:00
2020-10-30 10:13:39 -04:00
2020-11-02 13:21:18 +01:00
2020-11-10 20:07:47 -08:00
2020-11-10 20:07:47 -08:00
2020-11-10 20:07:47 -08:00
2020-11-10 14:45:21 +01:00
2020-10-31 18:52:00 +01:00
2020-10-30 10:13:39 -04:00
2020-11-05 12:13:28 -05:00
2020-11-03 16:32:34 +00:00
2020-11-09 19:06:55 +01:00
2020-11-09 15:30:49 +00:00
2020-10-14 04:14:32 +02:00
2020-11-05 18:24:12 -08:00
2020-11-10 20:07:47 -08:00
2020-10-30 10:13:39 -04:00
2020-10-28 17:22:10 +01:00
2020-09-19 17:27:13 +02:00
2020-11-10 14:45:09 +01:00
2020-11-09 19:06:55 +01:00
2020-10-30 10:13:41 -04:00
2020-11-09 19:06:55 +01:00
2020-11-09 01:13:31 +01:00
2020-11-03 19:32:26 +01:00
2020-11-07 18:20:42 +01:00
2020-11-10 20:07:47 -08:00
2020-11-10 14:45:25 +01:00
2020-11-10 20:07:47 -08:00
2020-11-09 01:13:44 +01:00
2020-11-09 19:06:55 +01:00
2020-09-23 21:51:56 +02:00
2020-11-10 14:45:21 +01:00
2020-09-23 21:51:56 +02:00
2020-11-05 20:11:29 +01:00
2020-10-30 10:13:39 -04:00
2020-11-08 13:36:30 +01:00
2020-10-27 14:08:07 +00:00
2020-10-13 14:16:45 +02:00
2020-11-10 20:07:47 -08:00
2020-11-09 15:30:49 +00:00
2020-11-04 13:41:58 +00:00
2020-11-10 14:45:21 +01:00
2020-11-10 20:07:47 -08:00
2020-11-09 19:06:46 +01:00
2020-10-19 11:57:50 +03:00
2020-11-10 20:07:47 -08:00