Tweak rust macro snippet