Skip to content

Commit 0270b4e

Browse files
comment fix
1 parent 343ad38 commit 0270b4e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

elrond-wasm/src/types/io/multi_args_vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use elrond_codec::TopDecodeInput;
1212
pub struct MultiArgVec<T>(pub Vec<T>);
1313

1414
/// Used for taking a variable number of arguments in an endpoint,
15-
/// it is synonymous with `MultiResult`.
15+
/// it is synonymous with `MultiResultVec`/`MultiArgVec`.
1616
pub type VarArgs<T> = MultiArgVec<T>;
1717

1818
/// Used for returning a variable number of results from an endpoint,

elrond-wasm/src/types/io/optional_arg.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ use crate::{api::EndpointFinishApi, EndpointResult};
55
use alloc::string::String;
66
use elrond_codec::TopDecodeInput;
77

8-
/// A smart contract or result that can be missing.
8+
/// A smart contract argument or result that can be missing.
9+
///
910
/// If arguments stop before this argument, None will be returned.
1011
/// As an endpoint result, the contract decides if it produces it or not.
1112
///

0 commit comments

Comments
 (0)