diff --git a/src/memory.rs b/src/memory.rs index 978ed5fb..b4d69959 100644 --- a/src/memory.rs +++ b/src/memory.rs @@ -256,9 +256,9 @@ impl MemoryReference { /// `undefined`, and `Err` if incorrect type. /// /// Uses lodash in JavaScript to evaluate the path. See https://lodash.com/docs/#get. - pub fn get_path(&self, path: &str) -> Result, ConversionError> + pub fn get_path(&self, path: &str) -> Result, >::Error> where - T: TryFrom, + T: TryFrom, { let val = js! { return _.get(@{self.as_ref()}, @{path});