Matthias Krüger
ae1410e2d8
Rollup merge of #136069 - yotamofek:next-solver-slice, r=compiler-errors
...
Simplify slice indexing in next trait solver
Unless I'm missing something:
- no need to explicitly specify the end of the slice as the end of the index range
- the `assert` is redundant since the indexing will panic for the same condition
I think this change simplifies it a bit. Also replaced the `for` loop of `push`es with a call to `extend` with an iterator. Might improve performance since it knows how many elements will be added beforehand and can pre-reserve room?
r? `@compiler-errors` , I think
2025-02-06 21:56:25 +01:00
..
2025-02-06 10:50:05 +00:00
2025-02-06 10:50:05 +00:00
2025-02-03 13:55:15 -08:00
2025-02-06 10:50:05 +00:00
2025-02-02 12:36:12 +01:00
2025-02-02 12:36:12 +01:00
2025-02-05 05:03:01 +01:00
2025-02-06 10:50:05 +00:00
2025-02-05 19:09:37 +08:00
2025-02-06 10:50:05 +00:00
2025-02-06 10:50:05 +00:00
2025-02-06 10:50:05 +00:00
2025-02-06 13:09:58 +01:00
2025-02-06 10:50:05 +00:00
2025-02-03 08:18:30 +00:00
2025-02-03 13:25:57 +03:00
2025-02-03 13:25:57 +03:00
2025-02-03 13:25:57 +03:00
2025-02-05 05:03:01 +01:00
2025-02-06 13:09:59 +01:00
2025-02-06 13:09:57 +01:00
2025-02-05 18:25:33 +01:00
2025-02-06 13:09:59 +01:00
2025-02-03 17:02:33 +11:00
2025-02-05 18:32:06 +00:00
2025-02-06 17:08:45 +00:00
2025-02-05 07:03:53 -08:00
2025-02-06 13:09:59 +01:00
2025-02-05 19:09:33 +08:00
2025-02-01 14:14:40 +11:00
2025-02-01 12:42:41 +11:00
2025-02-06 10:50:05 +00:00
2025-02-06 17:08:45 +00:00
2025-02-06 13:10:00 +01:00
2025-02-03 12:53:57 -08:00
2025-02-03 12:53:57 -08:00
2025-02-03 16:42:25 +00:00
2025-02-06 21:56:25 +01:00
2025-02-06 10:50:05 +00:00
2025-02-06 21:56:24 +01:00
2025-01-31 20:36:44 +00:00
2025-02-03 17:02:33 +11:00
2025-02-06 10:50:05 +00:00
2025-02-06 10:50:05 +00:00
2025-01-30 18:13:16 +01:00
2025-02-06 10:50:05 +00:00
2025-02-05 11:32:19 -05:00
2025-02-06 10:50:05 +00:00
2025-02-03 18:33:27 +01:00
2025-02-05 19:53:45 -08:00
2025-02-06 13:09:58 +01:00
2025-01-30 17:47:44 +01:00
2025-02-06 13:10:00 +01:00
2025-02-06 10:50:05 +00:00
2025-02-03 12:53:57 -08:00