ligma
1
I want to convert &T as &[T]. How to do this
You can use std::slice::from_ref to do that.
3 Likes
system
Closed
3
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.