Nicholas Nethercote
a97cd3ba57
Make Analysis immutable in many more places.
...
The `state: A::Domain` value is the primary things that's modified when
performing an analysis. The `Analysis` impl is immutable in every case
but one (`MaybeRequiredStorage`) and it now uses interior mutability.
As well as changing many `&mut A` arguments to `&A`, this also:
- lets `CowMut` be replaced with the simpler `SimpleCow` in `cursor.rs`;
- removes the need for the `RefCell` in `Formatter`;
- removes the need for `MaybeBorrowedLocals` to impl `Clone`, because
it's a unit type and it's now clear that its constructor can be used
directly instead of being put into a local variable and cloned.
2025-10-28 08:23:27 +11:00
..
2025-09-15 15:31:56 +00:00
2025-09-29 15:44:55 +10:00
2025-10-12 08:08:30 +00:00
2025-10-23 00:40:01 +00:00
2025-08-27 23:44:49 +02:00
2025-10-24 02:41:52 +00:00
2025-10-23 00:40:01 +00:00
2025-10-23 00:40:01 +00:00
2025-10-25 12:57:39 +02:00
2025-08-28 09:48:54 +00:00
2025-10-28 08:23:27 +11:00
2025-10-23 00:40:01 +00:00
2025-10-23 00:38:28 +00:00
2025-10-20 20:50:44 +00:00
2025-10-23 17:23:01 -04:00
2025-10-25 21:32:27 -04:00
2025-10-28 08:23:27 +11:00
2025-10-15 23:41:05 +02:00
2025-09-05 14:06:31 -04:00
2025-10-22 16:22:51 +00:00
2025-10-02 10:27:49 +02:00
2025-09-02 19:12:54 +10:00
2025-10-24 12:50:19 -06:00
2025-10-18 23:54:44 +02:00
2025-10-22 21:43:50 +02:00
2025-10-12 08:08:30 +00:00
2025-09-02 19:12:54 +10:00
2025-10-12 08:08:30 +00:00
2025-10-12 08:08:30 +00:00
2025-10-24 02:41:52 +00:00
2025-10-24 15:28:34 +01:00
2025-08-20 15:04:00 -07:00
2025-10-21 11:22:51 +00:00
2025-10-22 13:11:47 +00:00
2025-10-20 02:39:55 +00:00
2025-10-22 00:52:52 +00:00
2025-09-02 19:12:54 +10:00
2025-10-07 23:02:23 +01:00
2025-10-18 12:24:40 +11:00
2025-09-22 15:10:41 -04:00
2025-10-22 13:11:47 +00:00
2025-10-19 19:48:21 +02:00
2025-10-22 07:12:12 +02:00
2025-10-15 13:17:25 +01:00
2025-10-06 14:54:38 +00:00
2025-10-18 12:37:45 +00:00
2025-10-25 12:57:38 +02:00
2025-10-23 00:38:28 +00:00
2025-10-28 08:23:27 +11:00
2025-10-28 08:23:27 +11:00
2025-10-21 11:22:51 +00:00
2025-10-24 15:34:45 +02:00
2025-10-23 00:40:01 +00:00
2025-09-02 19:12:54 +10:00
2025-10-18 23:54:43 +02:00
2025-09-27 22:58:02 +01:00
2025-10-22 17:31:12 +03:00
2025-09-02 19:12:54 +10:00
2025-10-23 00:38:28 +00:00
2025-10-21 12:20:56 +11:00
2025-09-08 15:07:12 -07:00
2025-10-22 13:20:23 -04:00
2025-10-24 02:41:52 +00:00
2025-10-24 02:41:52 +00:00
2025-09-02 19:12:54 +10:00
2025-10-25 12:57:39 +02:00
2025-10-23 00:38:28 +00:00
2025-10-24 02:41:52 +00:00
2025-10-18 08:08:37 +02:00
2025-10-12 08:08:30 +00:00
2025-10-22 07:12:09 +02:00
2025-10-13 00:20:10 +00:00
2025-10-09 01:24:55 +08:00
2025-10-21 11:22:51 +00:00
2025-10-22 07:12:09 +02:00
2025-10-12 08:08:30 +00:00
2025-09-19 12:00:30 -07:00