Open okaneco opened 1 month ago
Feature gate: #![feature(const_copy_from_slice)]
#![feature(const_copy_from_slice)]
This is a tracking issue for using slice::copy_from_slice in const.
slice::copy_from_slice
const
impl<T> [T] { pub const fn copy_from_slice(&mut self, src: &[T]) where T: Copy; }
The referenced function should be <[T]>::copy_from_slice (method of [T]) instead of slice::copy_from_slice (function in core::slice).
<[T]>::copy_from_slice
[T]
core::slice
Feature gate:
#![feature(const_copy_from_slice)]
This is a tracking issue for using
slice::copy_from_slice
inconst
.Public API
Steps / History
Unresolved Questions