about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2023-07-01 19:52:11 -0400
committerTrevor Gross <tmgross@umich.edu>2023-07-01 19:52:11 -0400
commit5ed429f3ab0aaa69b98f599f0ec8fb4104204510 (patch)
treeefff7b41330c52c5200812c5bd2a0c4ecd735898
parent6162f6f12339aa81fe16b8a64644ead497e411b2 (diff)
downloadrust-5ed429f3ab0aaa69b98f599f0ec8fb4104204510.tar.gz
rust-5ed429f3ab0aaa69b98f599f0ec8fb4104204510.zip
Update the tracking issue for `const_cstr_from_ptr`
Tracking issue #101719 was for `const_cstr_methods`, #113219 is a new
issue specific for `const_cstr_from_ptr`.
-rw-r--r--library/core/src/ffi/c_str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ffi/c_str.rs b/library/core/src/ffi/c_str.rs
index 3de9188baf6..1a9cbc98c6a 100644
--- a/library/core/src/ffi/c_str.rs
+++ b/library/core/src/ffi/c_str.rs
@@ -256,7 +256,7 @@ impl CStr {
     #[inline]
     #[must_use]
     #[stable(feature = "rust1", since = "1.0.0")]
-    #[rustc_const_unstable(feature = "const_cstr_from_ptr", issue = "101719")]
+    #[rustc_const_unstable(feature = "const_cstr_from_ptr", issue = "113219")]
     pub const unsafe fn from_ptr<'a>(ptr: *const c_char) -> &'a CStr {
         // SAFETY: The caller has provided a pointer that points to a valid C
         // string with a NUL terminator of size less than `isize::MAX`, whose