doc(interface-types) Update an example.

This commit is contained in:
Ivan Enderlin 2020-04-02 16:29:52 +02:00
parent 4690893ec1
commit c8e0220d29

View File

@ -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::<T>(&values).unwrap();
///
/// assert_eq!(
/// t,