mirror of
https://github.com/fluencelabs/interface-types
synced 2024-12-04 15:20:20 +00:00
doc(interface-types) Update an example.
This commit is contained in:
parent
4690893ec1
commit
c8e0220d29
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user