Seiichi Uchida
56c6d73d82
Reorder modules
...
Add `reorder_modules` config option.
Two things we must keep in mind when reordering modules:
1. We should not reorder modules with attributes, as doing so could
potentially break the code (e.g. `#[macro_use]`).
2. We should not reorder inline modules e.g. `mod foo { /* .. */ }`.
We should only reorder module declarations e.g. `mod foo;`.
Some open questions:
1. Should we bring modules with `pub` in front of those without `pub`
so that they stand out from others?
2. Instead of keeping modules with attributes in the same place,
can we bring them in front of others? Is this safe?
2018-01-29 21:59:15 +09:00
..
2018-01-29 21:59:15 +09:00
2017-10-01 21:21:20 +09:00
2017-08-19 15:30:53 -07:00
2017-09-03 08:14:00 +09:00
2017-11-13 17:33:32 +09:00
2017-11-13 17:33:32 +09:00
2017-11-13 17:33:32 +09:00
2017-12-10 23:38:30 +09:00
2017-12-05 10:02:49 +09:00
2017-11-13 17:33:32 +09:00
2017-12-10 21:19:51 +09:00
2017-09-05 16:54:02 +09:00
2017-11-15 15:44:27 +09:00
2017-11-24 20:17:06 +13:00
2017-11-24 20:17:06 +13:00
2017-11-24 20:17:06 +13:00
2017-11-27 20:53:54 +09:00
2017-11-13 17:33:32 +09:00
2017-12-20 15:44:11 +09:00
2018-01-04 12:49:37 +09:00
2017-07-25 15:47:44 +09:00
2017-07-25 15:47:44 +09:00
2017-07-25 15:47:44 +09:00
2017-07-25 15:47:44 +09:00
2017-07-31 09:14:58 +01:00
2017-11-01 07:33:55 +01:00
2017-11-13 17:33:32 +09:00
2017-11-24 21:08:24 +13:00
2017-11-24 21:08:24 +13:00
2017-11-24 21:08:24 +13:00
2017-11-14 10:47:02 +09:00
2017-11-14 10:47:02 +09:00
2017-11-14 10:47:02 +09:00
2017-11-01 07:33:55 +01:00
2017-12-22 12:05:36 +09:00
2017-09-26 11:20:47 +09:00
2017-12-09 16:45:20 +09:00
2017-08-11 17:44:16 +09:00
2017-11-01 07:33:55 +01:00
2017-11-24 15:41:27 +13:00
2017-11-27 17:35:27 +13:00
2017-10-10 18:51:44 +13:00
2017-11-13 17:33:32 +09:00
2017-11-01 07:33:55 +01:00
2017-06-16 13:57:37 +09:00
2017-07-25 00:56:09 +09:00
2017-08-25 08:20:11 +09:00
2017-11-10 17:08:16 +09:00
2017-11-23 12:36:57 +09:00
2017-11-18 15:32:10 +09:00
2017-11-24 12:04:00 +09:00
2018-01-10 21:30:13 +09:00
2018-01-11 16:53:13 +09:00
2017-11-14 10:47:02 +09:00
2017-11-14 10:47:02 +09:00
2017-11-14 10:47:02 +09:00
2017-11-24 14:07:37 +13:00
2017-10-04 22:02:28 +13:00
2018-01-18 00:50:16 +09:00
2017-11-27 17:35:27 +13:00
2017-11-27 17:35:27 +13:00
2017-11-15 12:22:50 +09:00
2017-11-02 20:28:38 +09:00
2017-10-28 18:41:58 +13:00
2017-12-05 17:45:19 +09:00
2017-11-24 20:17:06 +13:00
2017-11-08 18:23:21 +09:00
2017-09-27 22:47:34 +02:00
2018-01-10 23:23:42 +09:00
2017-11-24 14:07:37 +13:00
2017-11-24 14:45:18 +13:00
2017-11-24 14:45:18 +13:00
2017-11-13 17:33:32 +09:00
2017-11-13 17:33:32 +09:00
2017-12-24 13:57:29 +09:00
2017-11-13 11:06:09 +09:00
2018-01-04 12:46:05 +09:00
2017-06-19 11:25:21 +09:00
2017-06-18 02:16:27 +09:00
2017-11-01 07:33:55 +01:00
2017-11-13 17:33:32 +09:00