diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-07-22 11:48:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-22 11:48:53 +0200 |
| commit | 58a4be1dfb696132b129fcb33bee91070e2fdbdb (patch) | |
| tree | cfd847077eb56c148541700a544b2b8a186afe5a /library/core/src | |
| parent | 6003d6b60b1b080b9d30d4926165660760dade23 (diff) | |
| parent | 5ed429f3ab0aaa69b98f599f0ec8fb4104204510 (diff) | |
| download | rust-58a4be1dfb696132b129fcb33bee91070e2fdbdb.tar.gz rust-58a4be1dfb696132b129fcb33bee91070e2fdbdb.zip | |
Rollup merge of #113252 - tgross35:const-cstr-from-ptr-tracking-issue, r=ChrisDenton
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`. (I believe #101719 could also be closed) ```@rustbot``` label +T-libs-api +A-docs
Diffstat (limited to 'library/core/src')
| -rw-r--r-- | library/core/src/ffi/c_str.rs | 2 |
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 39f795c1f13..549fec9477a 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 |
