From 581870ea16001a47516ab977d17ad880e5477eb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zoe=20Faltib=C3=A0?= Date: Fri, 23 Aug 2024 15:48:25 +0200 Subject: [PATCH] fix typing error in Details From<&'static str> --- src/stl/specs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stl/specs.rs b/src/stl/specs.rs index b30863db..f51afc5d 100644 --- a/src/stl/specs.rs +++ b/src/stl/specs.rs @@ -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") } } impl TryFrom for Details {