chore: 0.0.7: bump deps & light code cleanup
This commit is contained in:
parent
be8ee7611d
commit
4849fd032e
2 changed files with 601 additions and 2114 deletions
|
|
@ -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()
|
||||
),
|
||||
));
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue