Skip to content

Commit 720c430

Browse files
committed
Add a fixme comment
1 parent 2ee9241 commit 720c430

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

library/std/src/sys/windows/args.rs

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ use crate::vec;
2222
use core::iter;
2323

2424
/// This is the const equivalent to `NonZeroU16::new(n).unwrap()`
25+
///
26+
/// FIXME: This can be removed once `Option::unwrap` is stably const.
27+
/// See the `const_option` feature (#67441).
2528
const fn non_zero_u16(n: u16) -> NonZeroU16 {
2629
match NonZeroU16::new(n) {
2730
Some(n) => n,

0 commit comments

Comments
 (0)