fix(proc): update macros
Some checks failed
/ build (push) Has been cancelled

This commit is contained in:
🪞👃🪞 2025-07-20 04:49:10 +03:00
parent 73eb935282
commit 360b404b69
3 changed files with 82 additions and 65 deletions

View file

@ -7,7 +7,6 @@ use const_panic::PanicFmt;
use std::fmt::Debug;
pub(crate) use ::tengri_core::*;
pub(crate) use std::error::Error;
pub(crate) use std::sync::Arc;
pub(crate) use konst::string::{str_range, char_indices};
pub(crate) use thiserror::Error;
pub(crate) use self::DslError::*;
@ -24,6 +23,10 @@ impl<'s> Dsl for &'s str {
fn src (&self) -> &str { self }
}
impl Dsl for String {
fn src (&self) -> &str { self.as_str() }
}
impl Dsl for std::sync::Arc<str> {
fn src (&self) -> &str { self.as_ref() }
}