about summary refs log tree commit diff
path: root/library/std/src/sys/windows
diff options
context:
space:
mode:
authorChris Denton <christophersdenton@gmail.com>2022-06-28 12:18:16 +0100
committerChris Denton <christophersdenton@gmail.com>2022-06-28 12:18:16 +0100
commit720c430822ab093449d495487cc103b39bcf9f4a (patch)
treee17192665186aa7becaec294f04eec6cfb6551df /library/std/src/sys/windows
parent2ee92419dd17606d6b50f44b413dcf7ef49ac116 (diff)
downloadrust-720c430822ab093449d495487cc103b39bcf9f4a.tar.gz
rust-720c430822ab093449d495487cc103b39bcf9f4a.zip
Add a fixme comment
Diffstat (limited to 'library/std/src/sys/windows')
-rw-r--r--library/std/src/sys/windows/args.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/std/src/sys/windows/args.rs b/library/std/src/sys/windows/args.rs
index 361cf0590a1..01f26298290 100644
--- a/library/std/src/sys/windows/args.rs
+++ b/library/std/src/sys/windows/args.rs
@@ -22,6 +22,9 @@ use crate::vec;
 use core::iter;
 
 /// This is the const equivalent to `NonZeroU16::new(n).unwrap()`
+///
+/// FIXME: This can be removed once `Option::unwrap` is stably const.
+/// See the `const_option` feature (#67441).
 const fn non_zero_u16(n: u16) -> NonZeroU16 {
     match NonZeroU16::new(n) {
         Some(n) => n,