mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 21:41:12 +00:00
Empty becomes (), reflecting convention (#637)
This commit is contained in:
@@ -104,8 +104,7 @@ pub struct Identity;
|
||||
impl<T> Convert<T, T> for Identity {
|
||||
fn convert(a: T) -> T { a }
|
||||
}
|
||||
pub struct Empty;
|
||||
impl<T> Convert<T, ()> for Empty {
|
||||
impl<T> Convert<T, ()> for () {
|
||||
fn convert(_: T) -> () { () }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user