about summary refs log tree commit diff
path: root/library/core/src/array
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-01-14 16:54:28 +0100
committerRalf Jung <post@ralfj.de>2025-01-14 16:54:28 +0100
commit5c2006b79ac109ad657c0f9c32db8639f2eac4cb (patch)
treefcbe0e0419391aa3e3148e367665296b1d804292 /library/core/src/array
parentc074d8eee765cfd64e6e143d2894c85c7f3ddc1d (diff)
downloadrust-5c2006b79ac109ad657c0f9c32db8639f2eac4cb.tar.gz
rust-5c2006b79ac109ad657c0f9c32db8639f2eac4cb.zip
remove pointless allowed_through_unstable_modules on TryFromSliceError
Diffstat (limited to 'library/core/src/array')
-rw-r--r--library/core/src/array/mod.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/core/src/array/mod.rs b/library/core/src/array/mod.rs
index 2ae5ded1fd5..ac7f61aa1a1 100644
--- a/library/core/src/array/mod.rs
+++ b/library/core/src/array/mod.rs
@@ -156,7 +156,6 @@ pub const fn from_mut<T>(s: &mut T) -> &mut [T; 1] {
 
 /// The error type returned when a conversion from a slice to an array fails.
 #[stable(feature = "try_from", since = "1.34.0")]
-#[rustc_allowed_through_unstable_modules]
 #[derive(Debug, Copy, Clone)]
 pub struct TryFromSliceError(());