Diabetes doubles the chances of dementia