git.delta.rocks / unique-network / refs/commits / 4651d7dc5047

difftreelog

doc(rmrk): fix an unfinished line

Farhad Hakimov2022-07-22parent: #717e109.patch.diff
in: master

1 file changed

modifiedpallets/proxy-rmrk-core/src/misc.rsdiffbeforeafterboth
19use super::*;19use super::*;
20use codec::{Encode, Decode, Error};20use codec::{Encode, Decode, Error};
2121
22/// Match errors from one type to another and return an error22/// Match an error to a provided pattern matcher and get
23/// if a match is successful. This macro expects a pattern matcher23/// the corresponding error of another type if a match is successful.
24#[macro_export]24#[macro_export]
25macro_rules! map_unique_err_to_proxy {25macro_rules! map_unique_err_to_proxy {
26 (match $err:ident { $($unique_err_ty:ident :: $unique_err:ident => $proxy_err:ident),+ $(,)? }) => {26 (match $err:ident { $($unique_err_ty:ident :: $unique_err:ident => $proxy_err:ident),+ $(,)? }) => {