Skip to content

Commit

Permalink
fix typing error in Details From<&'static str>
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedberg committed Aug 23, 2024
1 parent 8440518 commit 581870e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stl/specs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ impl FromStr for Details {
}

impl From<&'static str> for Details {
fn from(s: &'static str) -> Self { Self::from_str(s).expect("invalid ticker name") }
fn from(s: &'static str) -> Self { Self::from_str(s).expect("invalid details") }

Check warning on line 171 in src/stl/specs.rs

View check run for this annotation

Codecov / codecov/patch

src/stl/specs.rs#L171

Added line #L171 was not covered by tests
}

impl TryFrom<String> for Details {
Expand Down

0 comments on commit 581870e

Please sign in to comment.