Function plutus_ledger_api::utils::singleton
source ยท pub fn singleton<T, C>(value: T) -> Cwhere
C: FromIterator<T>,
Expand description
Create a container C from one element.
pub fn singleton<T, C>(value: T) -> Cwhere
C: FromIterator<T>,
Create a container C from one element.