Files
rust/library
Jubilee 38520aed18 Rollup merge of #130087 - RalfJung:option-const-iter, r=workingjubilee
remove 'const' from 'Option::iter'

This is kind of pointless to be a `const fn` since you can't do anything with the iterator. It is also the only `const fn iter*` in the entire standard library. It probably got constified when `~const` traits got added everywhere, and then was forgotten to be de-constified when that was undone.

The rest of the const_option feature seems like it can reasonably be stabilized, but this one IMO should not be stabilized, and it's not worth creating a new tracking issue.

Cc https://github.com/rust-lang/rust/issues/67441
2024-09-09 00:17:50 -07:00
..
2024-08-29 12:13:19 -07:00
2024-07-28 14:46:29 -04:00
2024-07-26 13:26:33 +01:00
2024-08-21 00:20:27 -07:00
2024-09-03 09:19:29 +02:00
2024-08-29 08:38:19 +08:00