Skip to content

Commit

Permalink
Remove unsed code
Browse files Browse the repository at this point in the history
  • Loading branch information
BooleanCat committed Nov 30, 2024
1 parent c10bd75 commit 95e64e7
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/member.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,6 @@ where
}
}

impl<T> TryFrom<&str> for Wrapper<Vec<T>>
where
T: TryFrom<char, Error = PyErr> + Send,
{
type Error = PyErr;

fn try_from(codes: &str) -> PyResult<Self> {
Ok(Wrapper(
codes
.as_parallel_string()
.par_chars()
.map(T::try_from)
.collect::<PyResult<_>>()?,
))
}
}

impl<T> TryFrom<Vec<char>> for Wrapper<Vec<T>>
where
T: TryFrom<char, Error = PyErr> + Send,
Expand Down

0 comments on commit 95e64e7

Please sign in to comment.