mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-02-02 09:46:06 +00:00
add FIXME
This commit is contained in:
parent
9dfa84b693
commit
ce2f78290a
1 changed files with 2 additions and 0 deletions
|
@ -73,6 +73,8 @@ impl<A: AllowedOptions> SalsaStruct<A> {
|
||||||
.iter()
|
.iter()
|
||||||
.map(|attr| {
|
.map(|attr| {
|
||||||
if attr.path.is_ident("customize") {
|
if attr.path.is_ident("customize") {
|
||||||
|
// FIXME: this should be a comma separated list but I couldn't
|
||||||
|
// be bothered to remember how syn does this.
|
||||||
let args: syn::Ident = attr.parse_args()?;
|
let args: syn::Ident = attr.parse_args()?;
|
||||||
if args.to_string() == "DebugWithDb" {
|
if args.to_string() == "DebugWithDb" {
|
||||||
Ok(vec![Customization::DebugWithDb])
|
Ok(vec![Customization::DebugWithDb])
|
||||||
|
|
Loading…
Reference in a new issue