1
Fork 0

Convert some Into impls into From impls

This commit is contained in:
Michael Goulet 2024-12-31 01:56:28 +00:00
parent 7f75bfa1ad
commit aea2a6f836
9 changed files with 45 additions and 45 deletions

View file

@ -158,9 +158,9 @@ impl<T> From<Vec<T>> for P<[T]> {
}
}
impl<T> Into<Vec<T>> for P<[T]> {
fn into(self) -> Vec<T> {
self.into_vec()
impl<T> From<P<[T]>> for Vec<T> {
fn from(val: P<[T]>) -> Self {
val.into_vec()
}
}