chore: 0.0.7: bump deps & light code cleanup

This commit is contained in:
spushk 2026-10-05 23:43:03 +03:00 • committed by spushk
commit 4849fd032e
Signed by: spushk
GPG key ID: 7797B761E105E8AA
2 changed files with 601 additions and 2114 deletions

View file

@ -48,7 +48,7 @@ impl ArbitraryStyleBlock {
return Err(syn::Error::new(
path_tok.span(),
format!(
"Could not use path {path:?}: {:?}. If the path is relative and 'nightly' feature flag is set - this is likely false-positive",
"Could not use path {path:?}: {:?}. If the path is relative, nightly rust has to be used and `nightly` feature flag has to be set",
e.kind()
),
));

View file

@ -89,14 +89,12 @@ pub fn styly_macro_impl(input: TokenStream, source_path: PathBuf) -> TokenStream
_ => None,
};
let interp = interp.and_then(|i| match i.elements.first() {
interp.and_then(|i| match i.elements.first() {
Some(raffia::ast::SassInterpolatedIdentElement::Static(i)) => {
Some(i.raw.to_string())
}
_ => None,
});
interp
})
})
})
.unique()