Remove type annotation to vars in get_attrs

For some reason the rust compiler no longer needs us to give a type hint
for the variables in get_attrs. This makes the macro read a lot nicer
when used.