mirror of
https://github.com/Start9Labs/rpc-toolkit.git
synced 2026-03-26 02:11:56 +00:00
export OrEmpty
This commit is contained in:
@@ -408,7 +408,7 @@ where
|
||||
#[derive(Debug, Clone, Copy, Deserialize, Serialize, Parser)]
|
||||
pub struct Empty {}
|
||||
|
||||
pub(crate) trait OrEmpty<T> {
|
||||
pub trait OrEmpty<T> {
|
||||
fn from_t(t: T) -> Self;
|
||||
}
|
||||
impl<T> OrEmpty<T> for T {
|
||||
|
||||
Reference in New Issue
Block a user