Insight on the effect of Ni and Ni–N co-doping on SnO2 anode materials for lithium-ion batteries