mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 16:37:57 +00:00
doc (#4761)
This commit is contained in:
@@ -433,6 +433,8 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
/// The translation happens in-place, new keys are inserted at the same time as old keys are
|
||||
/// removed, thus new keys must not collide with still remaining old keys.
|
||||
fn translate<K2, V2, TK, TV>(translate_key: TK, translate_val: TV) -> Result<(), Option<K2>>
|
||||
where K2: FullCodec + Clone, V2: Decode, TK: Fn(K2) -> K, TV: Fn(V2) -> V
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user