diff --git a/src/tool.rs b/src/tool.rs index 58534af..5d99451 100644 --- a/src/tool.rs +++ b/src/tool.rs @@ -260,7 +260,9 @@ impl<'a> Tool<'a> { // A blanket impl for TryFrom where T: Serialize would be nice but it // would conflict with the blanket impl for TryFrom where Value: // Serialize. This is a bit of a hack but it works. - pub fn parse(value: T) -> std::result::Result + pub fn from_serializable( + value: T, + ) -> std::result::Result where T: Serialize, {