Puerarin ameliorates cognitive deficits in streptozotocin-induced diabetic rats