dsl: give! and take! macros
Some checks are pending
/ build (push) Waiting to run

This commit is contained in:
🪞👃🪞 2025-05-24 00:29:50 +03:00
parent cbd28a5934
commit 5a2177cc77
4 changed files with 131 additions and 94 deletions

View file

@ -121,11 +121,7 @@ impl ToTokens for ExposeArm {
}
}
impl From<LitStr> for ExposeSym {
fn from (this: LitStr) -> Self {
Self(this)
}
}
impl From<LitStr> for ExposeSym { fn from (this: LitStr) -> Self { Self(this) } }
impl PartialOrd for ExposeSym {
fn partial_cmp (&self, other: &Self) -> Option<Ordering> {
@ -153,11 +149,7 @@ impl PartialEq for ExposeSym {
impl Eq for ExposeSym {}
impl From<Type> for ExposeType {
fn from (this: Type) -> Self {
Self(Box::new(this))
}
}
impl From<Type> for ExposeType { fn from (this: Type) -> Self { Self(Box::new(this)) } }
impl PartialOrd for ExposeType {
fn partial_cmp (&self, other: &Self) -> Option<Ordering> {