mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-05 02:20:19 +00:00
doc(interface-types) Explain a part of an algorithm.
This commit is contained in:
parent
5119b6a58f
commit
4ad3d7f123
@ -87,6 +87,8 @@ impl Serializer {
|
||||
}
|
||||
|
||||
fn pop(&mut self) -> Result<Vec<InterfaceValue>, SerializeError> {
|
||||
// The first `vec` contains the final result. It is forbidden
|
||||
// to `pop` it as is.
|
||||
if self.values.len() < 2 {
|
||||
Err(SerializeError::InternalValuesCorrupted)
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user