From c8e0220d299500ccaed7dfd980d11975cdbf1be7 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Thu, 2 Apr 2020 16:29:52 +0200 Subject: [PATCH] doc(interface-types) Update an example. --- src/interpreter/wasm/serde.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interpreter/wasm/serde.rs b/src/interpreter/wasm/serde.rs index f89aaf6..c1968a1 100644 --- a/src/interpreter/wasm/serde.rs +++ b/src/interpreter/wasm/serde.rs @@ -43,7 +43,7 @@ use std::{ /// InterfaceValue::Record(vec![InterfaceValue::I32(1), InterfaceValue::I64(2)]), /// InterfaceValue::F32(3.), /// ]; -/// let t: T = from_interface_values(&values).unwrap(); +/// let t = from_interface_values::(&values).unwrap(); /// /// assert_eq!( /// t,