Skip to content

Commit

Permalink
remove pointless allowed_through_unstable_modules on TryFromSliceError
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Jan 14, 2025
1 parent c074d8e commit 5c2006b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion library/core/src/array/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(());

Expand Down

0 comments on commit 5c2006b

Please sign in to comment.