diff options
Diffstat (limited to 'src/libcore/array.rs')
| -rw-r--r-- | src/libcore/array.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/array.rs b/src/libcore/array.rs index 0bea541e163..3d24f8902bd 100644 --- a/src/libcore/array.rs +++ b/src/libcore/array.rs @@ -77,7 +77,7 @@ impl TryFromSliceError { issue = "0")] #[inline] #[doc(hidden)] - pub const fn __description(&self) -> &str { + pub fn __description(&self) -> &str { "could not convert slice to array" } } |
