Fix from trait

This commit is contained in:
max.nuding 2022-12-02 07:53:27 +01:00
parent a96624e0a0
commit 5a02a5bbe9
Failed to extract signature

View File

@ -7,7 +7,7 @@ struct Hand {
impl From<&str> for Hand {
fn from(s: &str) -> Self {
Self { letter: s.0.chars().next().unwrap() }
Self { letter: s.chars().next().unwrap() }
}
}