Closed
Description
The slice
and related methods of &[T]
apparently have moved to the std::ops::Slice
trait, but that trait is not in the prelude. This leads to errors such as:
error: type `&[u8]` does not implement any method in scope named `slice`
This can be “fixed” by adding use std::ops::Slice
everywhere, but that doesn’t seem like the intended behavior.
Metadata
Metadata
Assignees
Labels
No labels